Ejemplo n.º 1
0
 public virtual void Update()
 {
     lastPosition = transform.position;
     if (abilityManager != null)
     {
         abilityManager.Update();
     }
     if (statusManager != null)
     {
         statusManager.Update();
     }
     if (resourceManager != null)
     {
         //resourceManager.Update();
     }
     if (emitter != null)
     {
         emitter.FlushQueue();
     }
 }