private void Start()
        {
            TypeEventSystem.Register <GameStartEvent>(OnGameStartEvent);
            TypeEventSystem.Register <GameOverEvent>(OnGameOverEvent);

            TypeEventSystem.Send <GameStartEvent>();
            TypeEventSystem.Send(new GameOverEvent()
            {
                Score = 100
            });
        }
 private void OnDestroy()
 {
     TypeEventSystem.UnRegister <GameStartEvent>(OnGameStartEvent);
     TypeEventSystem.UnRegister <GameOverEvent>(OnGameOverEvent);
 }