mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Fix GetSceneIdenity name typo (#1450)
This commit is contained in:
parent
84fc240d00
commit
c84b00336d
@ -188,7 +188,18 @@ internal set
|
||||
// keep track of all sceneIds to detect scene duplicates
|
||||
static readonly Dictionary<ulong, NetworkIdentity> sceneIds = new Dictionary<ulong, NetworkIdentity>();
|
||||
|
||||
public static NetworkIdentity GetSceneIdenity(ulong id) => sceneIds[id];
|
||||
/// <summary>
|
||||
/// Obsolete: Use <see cref="GetSceneIdentity(ulong)" /> instead
|
||||
/// </summary>
|
||||
[Obsolete("Use GetSceneIdentity instead")]
|
||||
public static NetworkIdentity GetSceneIdenity(ulong id) => GetSceneIdentity(id);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the NetworkIdentity from the sceneIds dictionary with the corresponding id
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns>NetworkIdentity from the sceneIds dictionary</returns>
|
||||
public static NetworkIdentity GetSceneIdentity(ulong id) => sceneIds[id];
|
||||
|
||||
// used when adding players
|
||||
internal void SetClientOwner(NetworkConnection conn)
|
||||
|
Loading…
Reference in New Issue
Block a user