From cd536052906d8eb0375b3d2c8fd2a06adc5ff187 Mon Sep 17 00:00:00 2001 From: sebastianhampel1 Date: Wed, 31 May 2023 15:27:10 -0400 Subject: [PATCH] debugging --- Assets/FishNet/Demos/Network LOD/Prefabs/PlayerInputDriver.cs | 2 ++ Assets/FishNet/Demos/Network LOD/Scenes/NetworkLOD_Demo.unity | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Assets/FishNet/Demos/Network LOD/Prefabs/PlayerInputDriver.cs b/Assets/FishNet/Demos/Network LOD/Prefabs/PlayerInputDriver.cs index 1d1491c..b96b2b2 100644 --- a/Assets/FishNet/Demos/Network LOD/Prefabs/PlayerInputDriver.cs +++ b/Assets/FishNet/Demos/Network LOD/Prefabs/PlayerInputDriver.cs @@ -20,6 +20,7 @@ private void Start() } private void Update() { + print("OWNER?:"+base.IsOwner.ToString()); if (!base.IsOwner) return; if (_characterController.isGrounded||true) @@ -39,6 +40,7 @@ private void Update() #region UnityEventCallbacks public void OnMovement(InputAction.CallbackContext context) { + print("Getting input:" + context.ReadValue()); if (!base.IsOwner) return; _moveInput = context.ReadValue(); diff --git a/Assets/FishNet/Demos/Network LOD/Scenes/NetworkLOD_Demo.unity b/Assets/FishNet/Demos/Network LOD/Scenes/NetworkLOD_Demo.unity index 264f790..5bb0bd7 100644 --- a/Assets/FishNet/Demos/Network LOD/Scenes/NetworkLOD_Demo.unity +++ b/Assets/FishNet/Demos/Network LOD/Scenes/NetworkLOD_Demo.unity @@ -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: