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