Example #1
0
    /**
     * Adds the number of standard pellets to the pellets count in the GameStateManager
     */
    protected void InitPelletTilemap()
    {
        _Tilemap = GetComponent <Tilemap>();
        GameStateManager gInstance = GameStateManager.GetInstance();

        gInstance.AddPelletCount(GetNumberOfPellets());
    }