using UnityEditor;
public GameObject tower;
Texture2D icon1 = AssetPreview.GetAssetPreview(tower);
That works perfectly!
But you can not use that when you want to build your game. I know it. It is sad, and it could have been incredible useful. But somehow, Unity wont let you do so.
But you can not use that when you want to build your game. I know it. It is sad, and it could have been incredible useful. But somehow, Unity wont let you do so.
– Kittymonkey