Minor style fixes. (#514)

This commit is contained in:
rodolphito 2019-03-01 06:01:42 -08:00 committed by vis2k
parent 5a9f10ec47
commit 4d40ddb891

View File

@ -10,13 +10,13 @@ namespace Mirror
public class NetworkAnimator : NetworkBehaviour public class NetworkAnimator : NetworkBehaviour
{ {
// configuration // configuration
[SerializeField] Animator m_Animator; [SerializeField] Animator m_Animator;
[SerializeField] uint m_ParameterSendBits; [SerializeField] uint m_ParameterSendBits;
// properties // properties
public Animator animator public Animator animator
{ {
get { return m_Animator; } get => m_Animator;
set set
{ {
m_Animator = value; m_Animator = value;
@ -41,9 +41,9 @@ public bool GetParameterAutoSend(int index)
return (m_ParameterSendBits & (uint)(1 << index)) != 0; return (m_ParameterSendBits & (uint)(1 << index)) != 0;
} }
int m_AnimationHash; int m_AnimationHash;
int m_TransitionHash; int m_TransitionHash;
float m_SendTimer; float m_SendTimer;
bool sendMessagesAllowed bool sendMessagesAllowed
{ {