private void FixedUpdate() { if (target == null) { return; } KeyCode code = InputControllor.GetHeldKey(); if (code == KeyCode.Mouse0 || code == KeyCode.Return) { transform.RotateAround(target.position, target.forward, _directionOfMovement * _speedOnPlayerInput * Time.deltaTime); } }