// Start is called before the first frame update void Start() { TypeEventSystem.Register <A>(ReceiveA); TypeEventSystem.Register <B>(ReceiveB); }
void Subscribe() { TypeEventSystem.Register <NotifyEvent>(Update); }
// Start is called before the first frame update void Start() { TypeEventSystem.Register <A>(ReceiveA); TypeEventSystem.Register <B>(ReceiveB); }
void Subscribe() { TypeEventSystem.Register <NotifyEvent>(Update); }