protected virtual void SpawnHandler(GameObject go)
 {
     if (go == null)
     {
         return;
     }
     Facade.StartCoroutine(EnumCollect(CollectDelay, () => Facade.DespawnObject(this, go)));
 }
Exemplo n.º 2
0
 protected override void SpawnHandler(GameObject go)
 {
     if (go == null)
     {
         return;
     }
     Facade.StartCoroutine(EnumCollect(SpawnObjectGroup[flag].CollectDelay,
                                       (tempFlag) => { Facade.DespawnObject(SpawnObjectGroup[Utility.Converter.Int(tempFlag)].SpawnTransform, go); }, flag));
 }