How can I make .enabled work with Texture2D?
example:
public Texture2D text;
text.enabled = true;
I have the following error: Type `UnityEngine.Texture2D' does not contain a definition for `enabled' and no extension method `enabled' of type `UnityEngine.Texture2D' could be found (are you missing a using directive or an assembly reference?)
↧