예제 #1
0
        protected override void AfterGameManagerPersistanceInstanceInitialization()
        {
            base.AfterGameManagerPersistanceInstanceInitialization();

            /// Mock Input to have no effect
            GameTestMockedInputManager.SetupForTestScene();
            /// No level transition
            LevelTransitionManagerMock.SetupForTestScene();
            /// No persistance
            PersistanceManager.SetInstance(new MockPersistanceManager());
        }
예제 #2
0
 public static void SetupForTestScene()
 {
     MockedInstance = new GameTestMockedInputManager();
     SetInstance(MockedInstance);
 }