Example #1
0
 /// <summary>
 /// Reference to the parent
 /// </summary>
 public override void SetFactory(UiMenuFactory factory)
 {
     this.factory = factory;
     if (menuButton != null)
     {
         menuButton.colors = factory.normalColors;
     }
     SetHoverStyle(false);
 }
Example #2
0
File: UiMenu.cs Project: hww/VARP
 /// <summary>
 /// Reference to the parent
 /// </summary>
 public override void SetFactory(UiMenuFactory factory)
 {
     this.factory = factory;
     image.color  = factory.panelColor;
 }