Exemplo n.º 1
0
 void Awake()
 {
     if (stayAway == null)
     {
         stayAway = transform.parent.GetComponent <StayAway>();
     }
 }
Exemplo n.º 2
0
 protected void ExitStayAway(EventDefine eventName, object sender, EventArgs args)
 {
     stayAway = null;
 }
Exemplo n.º 3
0
 void Awake()
 {
     if ( stayAway == null )
         stayAway = transform.parent.GetComponent<StayAway>();
 }
Exemplo n.º 4
0
 protected void ExitStayAway(EventDefine eventName, object sender, EventArgs args)
 {
     stayAway = null;
 }