Skip to content

Commit

Permalink
feat: making NetworkIdentity.PrefabHash public
Browse files Browse the repository at this point in the history
It is useful to set PrefabHash before spawning the object. for example when loading it via addressables then setting the PrefabHash once it is loaded.
  • Loading branch information
James-Frowen committed Apr 15, 2024
1 parent 736d293 commit 0ec3753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirage/Runtime/NetworkIdentity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public int PrefabHash
#endif
return _prefabHash;
}
internal set
set
{
if (value == 0)
{
Expand Down

0 comments on commit 0ec3753

Please sign in to comment.