Skip to content

Commit 2fde234

Browse files
style
whitespace fixes.
1 parent b8d224c commit 2fde234

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

com.unity.netcode.gameobjects/Components/NetworkAnimator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public bool IsServerAuthoritative
223223
}
224224
set
225225
{
226-
if (!IsSpawned )
226+
if (!IsSpawned)
227227
{
228228
m_IsServerAuthoritative = value;
229229
}

testproject/Assets/Tests/Manual/NetworkAnimatorTests/AnimatedCubeController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ internal void ToggleRotateAnimation()
7070
m_Rotate = !m_Rotate;
7171
if (m_NetworkAnimator.IsServerAuthoritative)
7272
{
73-
if(!IsServer && IsOwner)
73+
if (!IsServer && IsOwner)
7474
{
7575
ToggleRotateAnimationServerRpc(m_Rotate);
7676
}

0 commit comments

Comments
 (0)