private void OnEnable() { EventRegister.EventStartListening <VirusGameStateEvent>(this); EventRegister.EventStartListening <FirstByteClick5DownEvent>(this); InputKillVirus.Instance.AddEvent(ClickEnterBtEvent, InputKillVirus.EventState.Enter); InputKillVirus.Instance.AddEvent(ClickEscBtEvent, InputKillVirus.EventState.Esc); }
private void OnEnable() { EventRegister.EventStartListening <VirusGameStateEvent>(this); EventRegister.EventStartListening <FirstByteClick5DownEvent>(this); if (IGamerProfile.Instance != null) { InputKillVirus.Instance.AddEvent(ClickEnterBtEvent, InputKillVirus.EventState.Enter); } }
private void OnEnable() { EventRegister.EventStartListening <FirstByteClick1DownEvent>(this); EventRegister.EventStartListening <FirstByteClick2DownEvent>(this); EventRegister.EventStartListening <FirstByteClick3DownEvent>(this); EventRegister.EventStartListening <FirstByteClick4DownEvent>(this); EventRegister.EventStartListening <FirstByteClick1UpEvent>(this); EventRegister.EventStartListening <FirstByteClick2UpEvent>(this); EventRegister.EventStartListening <FirstByteClick3UpEvent>(this); EventRegister.EventStartListening <FirstByteClick4UpEvent>(this); }
private void OnEnable() { EventRegister.EventStartListening <FirstByteClick1DownEvent>(this); EventRegister.EventStartListening <FirstByteClick2DownEvent>(this); EventRegister.EventStartListening <FirstByteClick3DownEvent>(this); EventRegister.EventStartListening <FirstByteClick4DownEvent>(this); EventRegister.EventStartListening <FirstByteClick1UpEvent>(this); EventRegister.EventStartListening <FirstByteClick2UpEvent>(this); EventRegister.EventStartListening <FirstByteClick3UpEvent>(this); EventRegister.EventStartListening <FirstByteClick4UpEvent>(this); if (IGamerProfile.Instance != null) { InputKillVirus.Instance.AddEvent(ClickUpBtEvent, InputKillVirus.EventState.Up); InputKillVirus.Instance.AddEvent(ClickDownBtEvent, InputKillVirus.EventState.Down); InputKillVirus.Instance.AddEvent(ClickLeftBtEvent, InputKillVirus.EventState.Left); InputKillVirus.Instance.AddEvent(ClickRightBtEvent, InputKillVirus.EventState.Right); } }
private void OnEnable() { EventRegister.EventStartListening <UIVirusAddLevelCoinEvent>(this); EventRegister.EventStartListening <UIVirusTipEvent>(this); }
private void OnEnable() { EventRegister.EventStartListening <UIVirusAddTotalCoinEvent>(this); }
private void OnEnable() { EventRegister.EventStartListening <VirusGameStateEvent>(this); EventRegister.EventStartListening <FirstByteClick5DownEvent>(this); }
private void OnEnable() { EventRegister.EventStartListening <VirusPropAddEvent>(this); }