fix smell, use pascal case

This commit is contained in:
Paul Pacheco 2020-03-23 10:22:06 -05:00
parent effb05e732
commit 3a73a11a55

View File

@ -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;