示例#1
0
    void ChangeScene()
    {
        loginCamera.GetComponent <Camera>().enabled          = false;
        loginCamera.GetComponent <CameraFade>().enabled      = false;
        loginCamera.GetComponent <AudioListener>().enabled   = false;
        charselCamera.GetComponent <Camera>().enabled        = true;
        charselCamera.GetComponent <CameraFade>().enabled    = true;
        charselCamera.GetComponent <AudioListener>().enabled = true;
        audioFader.Begin();

        CharselManager.OnLoaded();
    }
示例#2
0
    public void ChangeScene()
    {
        audioFader.Begin();

        CharselManager.OnLoaded();
    }