void FixedUpdate()
    {
        updateCounters();

        moveDelegate.FixedUpdate(this);
        this.transform.position = moveDelegate.getPosition();
    }
Exemple #2
0
 void FixedUpdate()
 {
     if (dead)
     {
         return;
     }
     moveDel.FixedUpdate(this);
     this.transform.position = moveDel.getPosition();
 }
 void FixedUpdate()
 {
     movementDelegate.FixedUpdate(this);
     this.transform.position = movementDelegate.getPosition();
 }