private IEnumerator HandleBossKilled() { Debug.Log("Here2"); UnityEngine.Object.Destroy(this.gameObject); UniqueBossRoomDeathHandler.TeleportToSpecificRoom("MetalGearRatRoom01"); Debug.Log("Here3"); Debug.Log("Here4"); yield break; }
private IEnumerator HandleBossKilled() { UnityEngine.Object.Destroy(this.gameObject); UniqueBossRoomDeathHandler.TeleportToSpecificRoom("ResourcefulRat_RewardRoom_01"); for (int i = 0; i < 4; i++) { Game.PrimaryPlayer.GiveItem("rat_key"); } yield break; }