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

            if (Enabled)
            {
                base.Draw();
                DrawProgress();
            }
        }