Question by 
               dragologic · Jan 26, 2016 at 02:29 PM · 
                editortexturematerialeditor-scriptingtexture2d  
              
 
              How to change Texture in editor
So I have simple script like this:
public Texture2D mainTexture; void Start () { transform.GetComponent().material.mainTexture = mainTexture; }
I want texture to be changed even in Editor, so I can preview without need to play the scene to see how texture looks. Any workaround ?
               Comment
              
 
               
              Your answer