예제 #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");
    }
예제 #3
0
 public void StartBGMForPlayGame()
 {
     CMySoundMgr.GetInst().Play(1);
 }
예제 #4
0
 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");
 }