Пример #1
0
 public void Awake()
 {
     condition                  = null;
     transform.localScale       = Vector3.one * 0.001f;
     ButtonHover                = gameObject.GetOrAdd <GUIButtonHover>();
     ButtonHover.OnButtonHover += OnButtonHover;
 }
Пример #2
0
 public void Awake()
 {
     Flow                       = null;
     PingSprite.alpha           = 0f;
     ButtonHover                = gameObject.GetOrAdd <GUIButtonHover>();
     ButtonHover.OnButtonHover += OnButtonHover;
     transform.localScale       = Vector3.one * 0.001f;
 }
Пример #3
0
 public void Awake()
 {
     if (Keeper == null || !Keeper.Initialized)
     {
         Keeper = null;
     }
     ButtonHover = gameObject.GetOrAdd <GUIButtonHover> ();
     ButtonHover.OnButtonHover += OnButtonHover;
     tr       = transform;
     Collider = gameObject.GetComponent <BoxCollider> ();
 }