Example #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());
        }
Example #2
0
 public static void SetupForTestScene()
 {
     MockedInstance = new LevelTransitionManagerMock();
     SetInstance(MockedInstance);
 }