void displayAllReturns(WowDelegate del) { foreach (WowDelegate n in del.GetInvocationList()) { Debug.Log(n()); } }
// Use this for initialization void Start() { CoolDelegate d = Foo; d += Goo; d += Tru; d(); WowDelegate w = One; w += Two; w += Three; Debug.Log(w()); displayAllReturns(w); }