...
This commit is contained in:
@ -86,12 +86,8 @@ namespace Animators.Leonid_Animator
|
||||
private void HandleRotation(float delta)
|
||||
{
|
||||
if (Mathf.Abs(_inputHandler.horizontal) + Mathf.Abs(_inputHandler.vertical) < 0.1)
|
||||
{
|
||||
print("stop");
|
||||
return;
|
||||
}
|
||||
|
||||
print("begin");
|
||||
var moveAmount = _inputHandler.moveAmount;
|
||||
var targetDir = _cameraObject.forward * _inputHandler.vertical
|
||||
+ _cameraObject.right * _inputHandler.horizontal;
|
||||
|
Reference in New Issue
Block a user