private void FixedUpdate() { if (!mover) { Debug.LogError("missing mover", this.gameObject); } mover.Move(xDirection * Vector2.right + Vector2.down); onFixedUpdate.Invoke(); }
void FixedUpdate() { mover.Move(PlayerDirectionImput); }