Example #1
0
 // Update is called once per frame
 void Update()
 {
     m_movingEntity.enabled = false;         // TODO: Hack, since the AnimEvent causes this to become true;
     if (isServer)
     {
         if (m_movingEntity)
         {
             m_movingEntity.update();
         }
     }
 }