static void Main(string[] args) { var s = new StringParam("Glenn"); var i = new IntParam("12"); var coolDel = new CoolDelegate(DoSomethingCool); coolDel(s, i); }
// 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); }