コード例 #1
0
    void Start()
    {
        Points = 0;

        player.GetComponent <Player>().OnDeath += OnPlayerDeath;
        playerStartPos = player.transform.position;

        currentState = GameState.TITLE;
        nextState    = GameState.TITLE;

        gameStartPanel.SetActive(true);

        enemies = new List <GameObject>();

        bulletPool.SetBoundsCallback(OnBulletOutBounds);
        bulletPool.InitPool();
    }