示例#1
0
        public void SwitchSceneWhenFadedOut()
        {
            _sceneManager.AddScene(Substitute.For <IScene>());
            _sceneManager.SetNextScene <IScene>();

            _transitionManager.Update(5);

            _sceneManager.Received(1).SwitchToNextScene();
        }