Exemplo n.º 1
0
 public override void OnUpdate()
 {
     if (!camera_edited && this.game.Ball.Owner != null)
     {
         UnitAnimator ua = this.game.Ball.Owner.unitAnimator;
         if (ua == null || ua.isInState(UnitAnimator.BallIdleState))
         {
             EditCamera();
         }
     }
 }