#wdym? you're using it there, no?
1 messages · Page 1 of 1 (latest)
I mean I showed you the snippet how you'd done it,,, you can't just call it like that
foreach (Delegate delegate in unityEvent.GetInvocationList())
{
MethodInfo methodInfo = delegate.Method;
string methodName = methodInfo.Name;
//Do the rest with the methodInfo
}
what type is your variable unityEvent ?
did you read my code snippet above?
yeah I read it... what am I missing?
It is available - however Rider tells me it can be removed 
Yeah, so Rider would mostly suggest you the correct thing to do, if you're doing it wrong btw just noticed, Get is not the same as GetInvocationList 😄
so now can't you just copy the snippet I made and replace it with your unityEvent
and see what it will say
It's still as I said - I can't resolve the method it does not exist
the structure of the class just does not have it
get back to #↕️┃editor-extensions see the ongoing discussion there now
Thanks I will check it out. But can you tell me why you are able to call the GetInvocationList method? Have you tested that?
Because also here: https://docs.unity3d.com/ScriptReference/Events.UnityEvent.html
I can't see that method