mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Deprecate FindLocalObject. no need to have it in clientscene and networkserver when there is NetworkIdentity.spawned already in one place. (#295)
This commit is contained in:
parent
c02c852be5
commit
3fe93cbe44
@ -380,6 +380,7 @@ public static void DestroyAllClientObjects()
|
||||
NetworkIdentity.spawned.Clear();
|
||||
}
|
||||
|
||||
[Obsolete("Use NetworkIdentity.spawned[netId] instead.")]
|
||||
public static GameObject FindLocalObject(uint netId)
|
||||
{
|
||||
NetworkIdentity identity;
|
||||
|
@ -1149,6 +1149,7 @@ internal static bool InvokeBytes(ULocalConnectionToServer conn, byte[] buffer)
|
||||
return false;
|
||||
}
|
||||
|
||||
[Obsolete("Use NetworkIdentity.spawned[netId] instead.")]
|
||||
public static GameObject FindLocalObject(uint netId)
|
||||
{
|
||||
NetworkIdentity identity;
|
||||
|
Loading…
Reference in New Issue
Block a user