コード例 #1
0
ファイル: SupplyCrate.cs プロジェクト: vtgandalf/Blown-Awae
 public void OnExplode()
 {
     if (parent != null)
     {
         parent.Empty = true;
         parent.SetUsable(true);
     }
     spawner.SpawnRandomPowerup(transform.position);
     gameObject.SetActive(false);
 }