예제 #1
0
 void Start()
 {
     Observable.EveryUpdate()
     .Where(x => Input.GetKeyDown(KeyCode.S))
     .Subscribe(_ => QEventSystem.SendEvent(TestEvent.TestOne, "Hello world"));
 }
예제 #2
0
 void Start()
 {
     Observable.EveryUpdate()
     .Subscribe(_ => QEventSystem.SendEvent(TestEvent.TestOne, "Hello World!"));
 }
예제 #3
0
 private void Update()
 {
     QEventSystem.SendEvent(TestEvent.TestOne, "Hello World!");
 }
예제 #4
0
 void Start()
 {
     Observable.EveryUpdate()
     .Where(x => Input.GetMouseButtonDown(0))
     .Subscribe(_ => QEventSystem.SendEvent(TestEvent.TestOne, "Hello World!"));
 }