void Start() { SoundMgr.SoundLoadBgm("Result_A", "Invader/Result_A"); SoundMgr.PlayBgm("Result_A"); trans = GameObject.FindGameObjectWithTag("Transition Handler"); }
void Start() { if (SpecialModeData.Time < 5) { currentTime = 5; } else if (SpecialModeData.Time > 20) { currentTime = 20; } else { currentTime = SpecialModeData.Time; } SoundMgr.SoundLoadBgm("SpecialBGM", "UDCommand/SpecialBGM"); SoundMgr.SoundLoadSe("SpecialSE", "UDCommand/SpecialSE"); SoundMgr.SoundLoadSe("UDCGameEnd", "UDCommand/Finish"); SoundMgr.SoundLoadSe("UDCDecide", "UDCommand/Decide"); if (SoundMgr.isBgmPlaying("SpecialBGM") == 0) { SoundMgr.PlayBgm("SpecialBGM", 0.3f); } trans = GameObject.FindGameObjectWithTag("Transition Handler"); instructText.SetActive(true); resultCanvas.SetActive(false); textAnim.SetActive(false); }
void Start() { SoundMgr.SoundLoadSe("Start", "Invader/Start"); SoundMgr.SoundLoadBgm("Window_Rule", "Invader/Window_Rule"); SoundMgr.PlayBgm("Window_Rule", 0.3f); trans = GameObject.FindGameObjectWithTag("Transition Handler"); }
void Start() { trans = GameObject.FindGameObjectWithTag("Transition Handler"); SoundMgr.SoundLoadBgm("UDCBGM", "UDCommand/BGM"); if (SoundMgr.isBgmPlaying("UDCBGM") != 1) { SoundMgr.PlayBgm("UDCBGM", 0.5f); } }
//スタートのカウント IEnumerator Count() { GameStartText.text = "Standby"; GameStartText2.text = "Standby"; yield return(new WaitForSeconds(1.0f)); GameStartText.text = "3"; GameStartText2.text = "3"; SoundMgr.PlaySe("Count_3,2,1", 0); yield return(new WaitForSeconds(1.0f)); GameStartText.text = "2"; GameStartText2.text = "2"; SoundMgr.PlaySe("Count_3,2,1", 0); yield return(new WaitForSeconds(1.0f)); GameStartText.text = "1"; GameStartText2.text = "1"; SoundMgr.PlaySe("Count_3,2,1", 0); yield return(new WaitForSeconds(1.0f)); GameStartText.text = "GAME START"; GameStartText2.text = "GAME START"; SoundMgr.PlayBgm("img_Title2"); yield return(new WaitForSeconds(1.0f)); GameStartText.gameObject.SetActive(false); yield return(new WaitForSeconds(48.0f)); SoundMgr.StopBgm(); yield return(new WaitForSeconds(6.0f)); SoundMgr.PlaySe("BossAlert", 6); yield return(new WaitForSeconds(1.25f)); SoundMgr.PlaySe("BossAlert", 6); yield return(new WaitForSeconds(1.25f)); SoundMgr.PlaySe("BossAlert", 6); yield return(new WaitForSeconds(1.25f)); yield return(new WaitForSeconds(0.0f)); SoundMgr.PlayBgm("Boss00"); yield return(new WaitForSeconds(60.0f)); SoundMgr.PlaySe("TimeOver_A", 8); }
// Use this for initialization void Start() { SoundMgr.SoundLoadSe("Push", "Invader/Push"); SoundMgr.SoundLoadBgm("Result_A", "Invader/Result_A"); SoundMgr.PlayBgm("Result_A"); }