Skip to content

Commit 3225fd8

Browse files
style
adding comment
1 parent 951a344 commit 3225fd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public uint PrefabIdHash
106106
internal void RefreshAllPrefabInstances()
107107
{
108108
var instanceGlobalId = GlobalObjectId.GetGlobalObjectIdSlow(this);
109+
// Assign the currently selected instance to be updated
109110
NetworkObjectRefreshTool.PrefabNetworkObject = this;
110111
if (!PrefabUtility.IsPartOfAnyPrefab(this) || instanceGlobalId.identifierType != k_ImportedAssetObjectType)
111112
{

0 commit comments

Comments
 (0)