public void Update() { if (m_cCurrentState != null) { m_cCurrentState.Execute(); } }
// Update is called once per frame public void Update(float deltaTime) { if (m_CurrentState != null) { m_CurrentState.Execute(m_Object, deltaTime); } }