Want to do something like :
UnityEvent[] actions;
public void AddAction(Method method){
UnityEvent e = new UnityEvent();
e.AddListener(method);
actions[actions.Length] = e;
}
I want to access to them like in a list : actions.Find(“Groan”).Invoke();
How?