From 3a73a11a550d1ae9f3f3e2eaa526b28d34aa0c19 Mon Sep 17 00:00:00 2001 From: Paul Pacheco Date: Mon, 23 Mar 2020 10:22:06 -0500 Subject: [PATCH] fix smell, use pascal case --- Assets/Mirror/Components/NetworkAnimator.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Mirror/Components/NetworkAnimator.cs b/Assets/Mirror/Components/NetworkAnimator.cs index 31b5a1637..366450087 100644 --- a/Assets/Mirror/Components/NetworkAnimator.cs +++ b/Assets/Mirror/Components/NetworkAnimator.cs @@ -42,7 +42,7 @@ public class NetworkAnimator : NetworkBehaviour int[] transitionHash; float sendTimer; - bool sendMessagesAllowed + bool SendMessagesAllowed { get { @@ -81,7 +81,7 @@ void Awake() void FixedUpdate() { - if (!sendMessagesAllowed) + if (!SendMessagesAllowed) return; CheckSendRate(); @@ -140,7 +140,7 @@ bool CheckAnimStateChanged(out int stateHash, out float normalizedTime, int laye void CheckSendRate() { - if (sendMessagesAllowed && syncInterval > 0 && sendTimer < Time.time) + if (SendMessagesAllowed && syncInterval > 0 && sendTimer < Time.time) { sendTimer = Time.time + syncInterval;