removed prints
This commit is contained in:
parent
cd53605290
commit
3656e8a4d5
@ -20,7 +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)
|
||||||
@ -40,7 +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: 76561199343328028
|
_serverBindAddress:
|
||||||
_port: 27015
|
_port: 27015
|
||||||
_maximumClients: 16
|
_maximumClients: 16
|
||||||
_clientAddress: 76561199343328028
|
_clientAddress: 76561198308605766
|
||||||
_timeout: 25
|
_timeout: 25
|
||||||
--- !u!114 &7443408886575219565
|
--- !u!114 &7443408886575219565
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
Reference in New Issue
Block a user