We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f817796 commit e8d6053Copy full SHA for e8d6053
1 file changed
com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs
@@ -353,7 +353,7 @@ internal bool HasParentNetworkObject(Transform transform)
353
/// <summary>
354
/// Gets the NetworkManager that owns this NetworkObject instance.
355
/// </summary>
356
- public NetworkManager NetworkManager = NetworkManager.Singleton;
+ public NetworkManager NetworkManager { get; private set; } = NetworkManager.Singleton;
357
358
359
/// Useful to know if we should or should not send a message
0 commit comments