protected override void Start() { base.Start(); m_homePosition = gameObject.transform.position; m_citizenBody = gameObject.GetComponent <CitizenBody>(); m_currentState = new Idle(this); TimeOutside = 0f; }
public void Start() { m_parent = transform.parent.gameObject.GetComponent <CitizenBody>(); }