private void OnTriggerEnter(Collider other) { if (other.CompareTag("tagNextPoint")) { CMySoundMgr.GetInst().Stop(1); SceneManager.LoadScene("CSceneSpotLoad"); } }
void Start() { CMySoundMgr.GetInst().CreateMy(); CMySoundMgr.GetInst().SetAudioBundle(FindObjectOfType <CAudioBundle>()); CMySoundMgr.GetInst().BuildMy(); CMyGameDataMgr.GetInst().Create(); SceneManager.LoadScene("CSceneTitle"); }
public void StartBGMForPlayGame() { CMySoundMgr.GetInst().Play(1); }
public void DoGoTitle() { CMySoundMgr.GetInst().Stop(1); SceneManager.LoadScene("CSceneTitle"); }
public void GoPlayGame() { CMySoundMgr.GetInst().Stop(0); //SceneManager.LoadScene("CSceneSpotLoad"); SceneManager.LoadScene("CSceneDialogue"); }
// Use this for initialization void Start() { CMySoundMgr.GetInst().Play(0); mpUITitle.SetScene(this); }
public void OnClickBtnGoConfig() { CMySoundMgr.GetInst().Stop(0); SceneManager.LoadScene("CSceneConfig"); }