Exemplo n.º 1
0
//-----------------Unity methods-------------------------
    public void StartGame()
    {
        if (!_isGameInitialized)
        {
            InitializeGame();
        }
        GameEventSystem.StartGameLaunch();
        _player.transform.position = new Vector2(0, 0);
        _player.transform.rotation = Quaternion.identity;
        IsGameOver = false;
    }