debugging
This commit is contained in:
parent
1c7387e73a
commit
cd53605290
@ -20,6 +20,7 @@ public class PlayerInputDriver : NetworkBehaviour
|
||||
}
|
||||
private void Update()
|
||||
{
|
||||
print("OWNER?:"+base.IsOwner.ToString());
|
||||
if (!base.IsOwner)
|
||||
return;
|
||||
if (_characterController.isGrounded||true)
|
||||
@ -39,6 +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>();
|
||||
|
@ -1348,10 +1348,10 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
_steamAppID: 480
|
||||
_serverBindAddress:
|
||||
_serverBindAddress: 76561199343328028
|
||||
_port: 27015
|
||||
_maximumClients: 16
|
||||
_clientAddress:
|
||||
_clientAddress: 76561199343328028
|
||||
_timeout: 25
|
||||
--- !u!114 &7443408886575219565
|
||||
MonoBehaviour:
|
||||
|
Reference in New Issue
Block a user