示例#1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("tagNextPoint"))
     {
         CMySoundMgr.GetInst().Stop(1);
         SceneManager.LoadScene("CSceneSpotLoad");
     }
 }
示例#2
0
    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");
 }
示例#5
0
 public void GoPlayGame()
 {
     CMySoundMgr.GetInst().Stop(0);
     //SceneManager.LoadScene("CSceneSpotLoad");
     SceneManager.LoadScene("CSceneDialogue");
 }
示例#6
0
    // Use this for initialization
    void Start()
    {
        CMySoundMgr.GetInst().Play(0);

        mpUITitle.SetScene(this);
    }
示例#7
0
 public void OnClickBtnGoConfig()
 {
     CMySoundMgr.GetInst().Stop(0);
     SceneManager.LoadScene("CSceneConfig");
 }