public void Awake() { offset = offsetStep ? gameObject.GetInstanceID() : 0; m_Agent = gameObject.GetComponent <Agent>(); Academy.Instance.AgentSetStatus += MakeRequests; }