コード例 #1
0
    IEnumerator preTitle()
    {
        yield return(new WaitForSeconds(3f));

        _TC.cenaPara = "Menu";
        _TC.callFadeOut();
    }
コード例 #2
0
 // Update is called once per frame
 void Update()
 {
     if (!verificado && !_AC.SourceMusic.isPlaying)
     {
         verificado   = true;
         _TC.cenaPara = "gamePlay";
         _AC.StartCoroutine("changeMusic", _AC.mGrass);
         _TC.callFadeOut();
     }
     else
     {
         _AC.SourceMusic.loop = false;
     }
 }
コード例 #3
0
 public void loadScene(string sceneName)
 {
     _TC.cenaPara = sceneName;
     _TC.callFadeOut();
 }