using UnityEngine; using System.Collections; using System.Collections.Generic; public class SimpleObjectPool : MonoBehaviour { public GameObject Prefab = null; public int MaxObjectCount = 1; public bool IsCreatableMore = false; private Queue Pool= new Queue(); void Awake() { MakePool(); } public GameObject Pop() { if( Pool.Count == 0 ) { if( IsCreatableMore ) { Debug.log( "It will create one in ..