void Awake() { if (stayAway == null) { stayAway = transform.parent.GetComponent <StayAway>(); } }
protected void ExitStayAway(EventDefine eventName, object sender, EventArgs args) { stayAway = null; }
void Awake() { if ( stayAway == null ) stayAway = transform.parent.GetComponent<StayAway>(); }