Skip to content

Commit a4ea243

Browse files
style
Adding white spaces between foreach and if
1 parent af81742 commit a4ea243

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ internal void CheckForAnimatorChanges()
11801180
{
11811181
SendAnimStateRpc(m_AnimationMessage);
11821182
}
1183-
else if(!IsServer && IsOwner)
1183+
else if (!IsServer && IsOwner)
11841184
{
11851185
SendServerAnimStateRpc(m_AnimationMessage);
11861186
}

testproject/Assets/Tests/Runtime/NetworkSceneManager/NetworkObjectSceneMigrationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ private void MigrateObjects_OnSynchronize(ulong clientId)
278278
protected override void OnNewClientCreated(NetworkManager networkManager)
279279
{
280280
var authority = GetAuthorityNetworkManager();
281-
foreach(var prefab in authority.NetworkConfig.Prefabs.Prefabs)
281+
foreach (var prefab in authority.NetworkConfig.Prefabs.Prefabs)
282282
{
283283
networkManager.NetworkConfig.Prefabs.Add(prefab);
284284
}

0 commit comments

Comments
 (0)