Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
Archivo: UiMenu.cs Proyecto: hww/VARP
 /// <summary>
 /// Reference to the parent
 /// </summary>
 public override void SetFactory(UiMenuFactory factory)
 {
     this.factory = factory;
     image.color  = factory.panelColor;
 }