UnityEngine.UI.DefaultControls.CreateRawImage C# (CSharp) Method

CreateRawImage() public static method

public static CreateRawImage ( Resources resources ) : GameObject
resources UnityEngine.Resources
return UnityEngine.GameObject
        public static GameObject CreateRawImage(Resources resources)
        {
            GameObject obj2 = CreateUIElementRoot("RawImage", s_ImageElementSize);
            obj2.AddComponent<RawImage>();
            return obj2;
        }