コード例 #1
0
ファイル: ObjectPool.cs プロジェクト: Al-Kanor/DiosesModernos
 public static void DestroyAll <T> (this T prefab) where T : Component
 {
     ObjectPool.DestroyAll(prefab.gameObject);
 }
コード例 #2
0
ファイル: ObjectPool.cs プロジェクト: Al-Kanor/DiosesModernos
 public static void DestroyAll(this GameObject prefab)
 {
     ObjectPool.DestroyAll(prefab);
 }