mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkManager.GetStartPosition can now be overwritten
This commit is contained in:
parent
deb75b5e6f
commit
ac352c084d
@ -1053,7 +1053,7 @@ public static void UnRegisterStartPosition(Transform start)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Get the next NetworkStartPosition based on the selected PlayerSpawnMethod.</summary>
|
/// <summary>Get the next NetworkStartPosition based on the selected PlayerSpawnMethod.</summary>
|
||||||
public Transform GetStartPosition()
|
public virtual Transform GetStartPosition()
|
||||||
{
|
{
|
||||||
// first remove any dead transforms
|
// first remove any dead transforms
|
||||||
startPositions.RemoveAll(t => t == null);
|
startPositions.RemoveAll(t => t == null);
|
||||||
|
Loading…
Reference in New Issue
Block a user