Skip to content

Commit 1e124df

Browse files
committed
Fix whitespaces
1 parent 1aa7aba commit 1e124df

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ public void DeferDespawn(int tickOffset, bool destroy = true)
505505
/// flag set and a non-owner client must have sent a request via <see cref="RequestOwnership"/>.
506506
/// </summary>
507507
public bool IsRequestInProgress => ((OwnershipStatusExtended)Ownership).HasFlag(OwnershipStatusExtended.Requested);
508-
508+
509509
/// <summary>
510510
/// Determines whether a NetworkObject can be distributed to other clients during
511511
/// a <see cref="NetworkTopologyTypes.DistributedAuthority"/> session.
@@ -515,7 +515,7 @@ public void DeferDespawn(int tickOffset, bool destroy = true)
515515
#endif
516516
[SerializeField]
517517
internal OwnershipStatus Ownership = OwnershipStatus.Distributable;
518-
518+
519519
/// <summary>
520520
/// Ownership status flags:
521521
/// <see cref="None"/>: If nothing is set, then ownership is considered "static" and cannot be redistributed, requested, or transferred (i.e. a Player would have this).
@@ -2897,18 +2897,18 @@ internal struct SerializedObject
28972897
internal ushort GetBitsetRepresentation()
28982898
{
28992899
ushort bitset = 0;
2900-
if(IsPlayerObject) { bitset |= k_IsPlayerObject; };
2901-
if(HasParent) { bitset |= k_HasParent; };
2902-
if(IsSceneObject) { bitset |= k_IsSceneObject; };
2903-
if(HasTransform) { bitset |= k_HasTransform; };
2904-
if(IsLatestParentSet) { bitset |= k_IsLatestParentSet; };
2905-
if(WorldPositionStays) { bitset |= k_WorldPositionStays; };
2906-
if(DestroyWithScene) { bitset |= k_DestroyWithScene; };
2907-
if(DontDestroyWithOwner) { bitset |= k_DontDestroyWithOwner; };
2908-
if(HasOwnershipFlags) { bitset |= k_HasOwnershipFlags; };
2909-
if(SyncObservers) { bitset |= k_SyncObservers; };
2910-
if(SpawnWithObservers) { bitset |= k_SpawnWithObservers; };
2911-
if(HasInstantiationData) { bitset |= k_HasInstantiationData; };
2900+
if (IsPlayerObject) { bitset |= k_IsPlayerObject; };
2901+
if (HasParent) { bitset |= k_HasParent; };
2902+
if (IsSceneObject) { bitset |= k_IsSceneObject; };
2903+
if (HasTransform) { bitset |= k_HasTransform; };
2904+
if (IsLatestParentSet) { bitset |= k_IsLatestParentSet; };
2905+
if (WorldPositionStays) { bitset |= k_WorldPositionStays; };
2906+
if (DestroyWithScene) { bitset |= k_DestroyWithScene; };
2907+
if (DontDestroyWithOwner) { bitset |= k_DontDestroyWithOwner; };
2908+
if (HasOwnershipFlags) { bitset |= k_HasOwnershipFlags; };
2909+
if (SyncObservers) { bitset |= k_SyncObservers; };
2910+
if (SpawnWithObservers) { bitset |= k_SpawnWithObservers; };
2911+
if (HasInstantiationData) { bitset |= k_HasInstantiationData; };
29122912
return bitset;
29132913
}
29142914

0 commit comments

Comments
 (0)