Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

UnityEvent Not Showing Public Methods From Class in DLL

$
0
0
Hi all, I have a class in a dll: public class MyClass : MonoBehaviour { public void MyMethod() { Debug.Log("MyClass::MyMethod()"); } } I've included the dll in the Unity project and added a class in the project: public class MyDerivedClass : MyClass { public UnityEngine.Events.UnityEvent myEvent; } When I try to add `MyMethod()` to the `myEvent` in the inspector it isn't visible. Any ideas that could help me out? Thanks!

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>