When I try to target a specific function, I cant find it in the drop down list. Other custom functions are visible, yet the one I’m after isn’t appearing.
Bug or user error?
Thanks
(Restarting Unity and Monodevelop doesnt fix this)
When I try to target a specific function, I cant find it in the drop down list. Other custom functions are visible, yet the one I’m after isn’t appearing.
Bug or user error?
Thanks
(Restarting Unity and Monodevelop doesnt fix this)
It all depends on the the visibility (it have to be public to show up) an the parameters that the function takes.
The unityevents work in the inspector with none or one parameter.
The return type of the function has to be void since the event cant take back any data from the function.
Do you meet that criteria if not how does your function definition look like?
It was due to calling functions that have coroutines in them. If it has yield in the function its invisible in the UI.
Cheers!