removed prints
This commit is contained in:
@ -20,7 +20,7 @@ public class PlayerInputDriver : NetworkBehaviour
|
||||
}
|
||||
private void Update()
|
||||
{
|
||||
print("OWNER?:"+base.IsOwner.ToString());
|
||||
|
||||
if (!base.IsOwner)
|
||||
return;
|
||||
if (_characterController.isGrounded||true)
|
||||
@ -40,7 +40,7 @@ public class PlayerInputDriver : NetworkBehaviour
|
||||
#region UnityEventCallbacks
|
||||
public void OnMovement(InputAction.CallbackContext context)
|
||||
{
|
||||
print("Getting input:" + context.ReadValue<Vector2>());
|
||||
|
||||
if (!base.IsOwner)
|
||||
return;
|
||||
_moveInput = context.ReadValue<Vector2>();
|
||||
|
Reference in New Issue
Block a user