예제 #1
0
 private KeyValuePair <int, string> DictionaryKey(PooledObject prefab)
 {
     return(new KeyValuePair <int, string>(prefab.GetInstanceID(), prefab.tag));
 }
예제 #2
0
 public void AddObject(PooledObject obj)
 {
     obj.gameObject.SetActive(false);
     availableObjects.Add(obj);
 }