/// <summary> /// Called when entering the World and when resurrected /// </summary> public virtual void OnActivate() { if (!m_actions.IsInitialized) { // execute only on world enter (not on resurrect) m_actions.Init(m_owner); } m_SourcePoint = m_owner.Position; CurrentAction = m_actions[m_state]; }