Beispiel #1
0
 /// <summary>
 /// Acquire a object from pool by the prefab of the object.
 /// </summary>
 /// <param name="prefab"></param>
 /// <returns></returns>
 public static GameObject Acquire(GameObject prefab)
 {
     return(Instance.AcquireInstance(prefab));
 }