示例#1
0
        private void RunSignalTest()
        {
            GameEngine ge = new GameEngine();

            ge.SytemActionBus.Subscribe <FakeEvent, FakeEvent>(e => FakeEvent.Foo(e));
            ge.SytemActionBus.Signal <FakeEvent, FakeEvent>(new FakeEvent());
        }