mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Weaver: removed findLocalObjectReference because it's not needed anymore.
This commit is contained in:
parent
c96f44f73f
commit
434b778aa9
@ -68,7 +68,6 @@ class Weaver
|
||||
public static TypeReference IEnumeratorType;
|
||||
|
||||
public static TypeReference ClientSceneType;
|
||||
public static MethodReference FindLocalObjectReference;
|
||||
public static MethodReference ReadyConnectionReference;
|
||||
|
||||
public static TypeReference ComponentType;
|
||||
@ -1137,7 +1136,6 @@ static void SetupTargetTypes()
|
||||
|
||||
ComponentType = m_UnityAssemblyDefinition.MainModule.GetType("UnityEngine.Component");
|
||||
ClientSceneType = m_UNetAssemblyDefinition.MainModule.GetType("Mirror.ClientScene");
|
||||
FindLocalObjectReference = Resolvers.ResolveMethod(ClientSceneType, scriptDef, "FindLocalObject");
|
||||
ReadyConnectionReference = Resolvers.ResolveMethod(ClientSceneType, scriptDef, "get_readyConnection");
|
||||
|
||||
// get specialized GetComponent<NetworkIdentity>()
|
||||
|
Loading…
Reference in New Issue
Block a user