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