示例#1
0
    void InitPrefabsPool()
    {
        levelPiecePrefab.CreatePool(7);

        circle1Prefab.CreatePool(10);
        circle2Prefab.CreatePool(10);
        circle3Prefab.CreatePool(10);
        circle4Prefab.CreatePool(10);

        spikePrefab.CreatePool(20);
    }