public void addCallBack(TestCallBack test) { test(10); EventDispatcher eventDispatcher = new EventDispatcher(); eventDispatcher.AddListeners += onTestEvent; }
public void addCallBack(TestCallBack test) { test(10); EventDispatcher eventDispatcher = new EventDispatcher(); eventDispatcher.AddListeners += onTestEvent; eventDispatcher.dispatchEventWith("helloEvent"); }
public void addCallBack(TestCallBack test) { test(10); //This is not good EventDispatcher<string> eventDispatcher = new EventDispatcher<string>(); eventDispatcher.AddListeners += onTestEvent; eventDispatcher.dispatchEventWith("helloEvent"); }
public void addCallBack(TestCallBack test) { test(10); EventDispatcher eventDispatcher = new EventDispatcher(); }