Unity引用外部DLL包中的类

版权声明:请尊重原劳动成果 https://blog.csdn.net/qq_39646949/article/details/86570768

第三篇:Unity引用外部DLL包中的类
1、外部DLL包所带的类无外乎有2种,一种是继承自MonoBehaviour,另一种就是不继承自MonoBehaviour;
2、处理过程
2.1.不继承自MonoBehaviour的类处理;
2.1.1,NEW 一个出来,再调用里面的方法或者其他。
2.2.继承自MonoBehaviour的类处理;
2.2.1这里面要提到一个知识点,C#的反射。

猜你喜欢

转载自blog.csdn.net/qq_39646949/article/details/86570768