Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

.enabled doesn't work with Texture2D?

$
0
0
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?)

Viewing all articles
Browse latest Browse all 7934

Trending Articles