[Unity][PoolManager]对象池支持多对象加载
发布时间
阅读量:
阅读量
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using PathologicalGames;//PoolManager
public class Pool_Effect : MonoBehaviour
{
public static Pool_Effect instance;//单例
#region
int coluSize = 1, rowSize = 9999;
SpawnPool spawnPool_effect;
PrefabPool prefabPool_effect;
private string effectPath = "Effects/";
private string[] effectNames = new string[]
{
"Cube",
"Cube1",
"Cube2",
全部评论 (0)
还没有任何评论哟~
