I'm trying to import a method and its IL code like
callvirt instance !!0 [UnityEngine]UnityEngine.GameObject::AddComponent<class RealMono>()
The RealMono
is a MonoBehavior
which I created .
I have no idea to get the generic method.
How can I use Mono.Cecil to call a generic method
947 views Asked by KyleCTX At
1
It works!!