- Home /
Component name for raw image.
What component name do I use for a raw image? I tried to use this but it didn't work.
MainEscapeMenu.GetComponent<RawImage>().enabled = false;
Comment
Best Answer
Answer by RobAnthem · May 12, 2017 at 10:50 PM
That's the proper component name, is it possible you are missing
using UnityEngine.UI;
From the top of your class?