コード例 #1
0
    private IEnumerator WaitUntilTimeUp()
    {
        yield return _timerDelay;

        PoolBoss.Despawn(_trans);
    }
コード例 #2
0
 /// <summary>
 /// Call this method to despawn a prefab using Pool Boss. 
 /// </summary>
 /// <param name="transToDespawn">Transform to despawn</param>
 public static void Despawn(this Transform transToDespawn)
 {
     PoolBoss.Despawn(transToDespawn);
 }