From 3656e8a4d51c933040a476cec7735ef3c32b4628 Mon Sep 17 00:00:00 2001 From: sebastianhampel1 Date: Wed, 31 May 2023 15:36:32 -0400 Subject: [PATCH] removed prints --- Assets/FishNet/Demos/Network LOD/Prefabs/PlayerInputDriver.cs | 4 ++-- Assets/FishNet/Demos/Network LOD/Scenes/NetworkLOD_Demo.unity | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/FishNet/Demos/Network LOD/Prefabs/PlayerInputDriver.cs b/Assets/FishNet/Demos/Network LOD/Prefabs/PlayerInputDriver.cs index b96b2b2..30048e1 100644 --- a/Assets/FishNet/Demos/Network LOD/Prefabs/PlayerInputDriver.cs +++ b/Assets/FishNet/Demos/Network LOD/Prefabs/PlayerInputDriver.cs @@ -20,7 +20,7 @@ private void Start() } private void Update() { - print("OWNER?:"+base.IsOwner.ToString()); + if (!base.IsOwner) return; if (_characterController.isGrounded||true) @@ -40,7 +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 5bb0bd7..3ff30cb 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: 76561199343328028 + _serverBindAddress: _port: 27015 _maximumClients: 16 - _clientAddress: 76561199343328028 + _clientAddress: 76561198308605766 _timeout: 25 --- !u!114 &7443408886575219565 MonoBehaviour: