From ac352c084d311f4742bd2dad5c6d9102338de285 Mon Sep 17 00:00:00 2001 From: vis2k Date: Wed, 14 Sep 2022 21:38:57 +0800 Subject: [PATCH] NetworkManager.GetStartPosition can now be overwritten --- Assets/Mirror/Runtime/NetworkManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Runtime/NetworkManager.cs b/Assets/Mirror/Runtime/NetworkManager.cs index 5fd8dc482..32fd3e481 100644 --- a/Assets/Mirror/Runtime/NetworkManager.cs +++ b/Assets/Mirror/Runtime/NetworkManager.cs @@ -1053,7 +1053,7 @@ public static void UnRegisterStartPosition(Transform start) } /// Get the next NetworkStartPosition based on the selected PlayerSpawnMethod. - public Transform GetStartPosition() + public virtual Transform GetStartPosition() { // first remove any dead transforms startPositions.RemoveAll(t => t == null);