Ejemplo n.º 1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("tagNextPoint"))
     {
         CMySoundMgr.GetInst().Stop(1);
         SceneManager.LoadScene("CSceneSpotLoad");
     }
 }
Ejemplo n.º 2
0
    void Start()
    {
        CMySoundMgr.GetInst().CreateMy();
        CMySoundMgr.GetInst().SetAudioBundle(FindObjectOfType <CAudioBundle>());
        CMySoundMgr.GetInst().BuildMy();

        CMyGameDataMgr.GetInst().Create();

        SceneManager.LoadScene("CSceneTitle");
    }
Ejemplo n.º 3
0
 public void StartBGMForPlayGame()
 {
     CMySoundMgr.GetInst().Play(1);
 }
Ejemplo n.º 4
0
 public void DoGoTitle()
 {
     CMySoundMgr.GetInst().Stop(1);
     SceneManager.LoadScene("CSceneTitle");
 }
Ejemplo n.º 5
0
 public void GoPlayGame()
 {
     CMySoundMgr.GetInst().Stop(0);
     //SceneManager.LoadScene("CSceneSpotLoad");
     SceneManager.LoadScene("CSceneDialogue");
 }
Ejemplo n.º 6
0
    // Use this for initialization
    void Start()
    {
        CMySoundMgr.GetInst().Play(0);

        mpUITitle.SetScene(this);
    }
Ejemplo n.º 7
0
 public void OnClickBtnGoConfig()
 {
     CMySoundMgr.GetInst().Stop(0);
     SceneManager.LoadScene("CSceneConfig");
 }