|
Hey there, I have an array containing two Texture2Ds, I want to be able to change the Texture2D of the GUITexture that I am instantiating, here is the code I am using:
However I always receive the error 'texture' is not a member of UnityEngine.Object
(comments are locked)
|
|
Instantiate returns Object; you need to cast it to GUITexture.
(comments are locked)
|
