Exemplo n.º 1
0
    // recycle prefabs
    public void ClearLevel()
    {
        levelPiecePrefab.RecycleAll();

        circle1Prefab.RecycleAll();
        circle2Prefab.RecycleAll();
        circle3Prefab.RecycleAll();
        circle4Prefab.RecycleAll();

        spikePrefab.RecycleAll();
    }