public void ActiveIceWall() { BossIceWall iceWall_instance = null; iceWall_instance = iceWall.GetComponent <BossIceWall> (); if (iceWall.activeSelf == true) { isIceWallOn = false; nBossIceWallCount = 15; //iceWall_instance.StartDeFreezeRepair (); iceWall.SetActive(false); } else { Debug.Log("Active Ice Wall"); iceWall.SetActive(true); isIceWallOn = true; fIceWallGenerateTimer = 0f; iceWall_instance.nCountBreakWall = nBossIceWallCount; iceWall_instance.StartFreezeRepair(); //수리창 어는 것 시작 } }