/// <summary> /// Create a white texture for background colour setups. /// </summary> private void CreateBackgroundColorTexture() { if (backgroundColorTexture == null) { backgroundColorTexture = DaggerfallUI.CreateSolidTexture(Color.white, colorTextureDim); } }
public override void Draw() { // Create texture once if (!colorTexture) { colorTexture = DaggerfallUI.CreateSolidTexture(UnityEngine.Color.white, 8); } if (Enabled) { base.Draw(); DrawProgress(); } }