IEnumerator Start ()
		{
			m_StateMachine = new EnumDelegate (this, InitializeStateType ());

			while (enabled && Application.isPlaying)
			{
				m_StateMachine.Update ();
				yield return new WaitForSeconds (1.0f / Framerate);
			}
		}	
        IEnumerator Start()
        {
            m_StateMachine = new EnumDelegate(this, InitializeStateType());

            while (enabled && Application.isPlaying)
            {
                m_StateMachine.Update();
                yield return(new WaitForSeconds(1.0f / Framerate));
            }
        }