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