mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fix smell, use pascal case
This commit is contained in:
parent
effb05e732
commit
3a73a11a55
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user