private void OperatedByPlayer() { float inputH = _playerInput.RotateDirection.x; float inputV = _playerInput.RotateDirection.y; if (_playerInput.GetType() == typeof(KeyBoardInput)) { if (!Input.GetMouseButton(0)) { inputH = 0; inputV = 0; } } if (!IsLock) { transform.RotateAround(_targetPos, Vector3.up, inputH * Time.deltaTime * 200f); transform.RotateAround(_targetPos, transform.right, inputV * Time.deltaTime * 100f); transform.LookAt(_targetPos); } transform.position += Target.position - _targetPos; _targetPos = Target.position; }