
Now the dialogue can use tags to add special effects Reorganized project structure, updating may require adding some using statements
20 lines
No EOL
646 B
C#
20 lines
No EOL
646 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace SimpleTools.ObjectPooler {
|
|
[CreateAssetMenu(fileName = "New Pool", menuName = "Simple Tools/Pool", order = 11)]
|
|
public class Pool : ScriptableObject {
|
|
|
|
public List<PoolPrefab> pools;
|
|
[System.Serializable]
|
|
public class PoolPrefab {
|
|
public string tag;
|
|
public GameObject prefab;
|
|
public bool undetermined;
|
|
public int size;
|
|
|
|
[HideInInspector] public Queue<GameObject> determinedPool;
|
|
[HideInInspector] public List<GameObject> undeterminedPool;
|
|
}
|
|
}
|
|
} |