void Start() { active = 0; activeTime = 4; timeText = timeText.GetComponent <Text>(); isCount = false; isTimeUp = false; limitTime = time; minite = ((int)(limitTime)) / 60; limitTime = minite * 60 + second; oldSecond = 0; GameStartText = GameStartText.GetComponent <Text>(); GameStartText2 = GameStartText2.GetComponent <Text>(); StartCoroutine(Count()); SoundMgr.SoundLoadBgm("img_Title2", "Invader/img_Title2"); SoundMgr.SoundLoadBgm("Boss00", "Invader/Boss00"); SoundMgr.SoundLoadSe("Count_3,2,1", "Invader/Count_3,2,1"); SoundMgr.SoundLoadSe("BossAlert", "Invader/BossAlert"); SoundMgr.SoundLoadSe("TimeOver_A", "Invader/TimeOver_A"); }
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); } }
// Use this for initialization void Start() { SoundMgr.SoundLoadSe("Push", "Invader/Push"); SoundMgr.SoundLoadBgm("Result_A", "Invader/Result_A"); SoundMgr.PlayBgm("Result_A"); }