예제 #1
0
		public LogInState(SceneManager stateManager) { 
			//初期化
			manager = stateManager;

		}
예제 #2
0
			public void FindSceneComponent(){
				this.manager = FindObjectOfType <SceneManager> ();
				manager.SwitchState (new TitleState(manager));
			}
		public void SetInstance(SceneManager manager){
			SceneManager.instance = manager;
		}
		//状態の初期化
		public void InitState(SceneManager manager){
			this.activeState = new TitleState(manager);
		}
예제 #5
0
		public TitleState(SceneManager stateManager) {
			//初期化
			manager = stateManager;
			Time.timeScale = 0;
		}
예제 #6
0
		public PlayState(SceneManager stateManager) { 
			//初期化
			manager = stateManager;
		}
예제 #7
0
		[SetUp] public void Init()
		{
			iManager = GetManagerMock ();
			managerCtrl = GetControllerMock (iManager);
			manager = Substitute.For<SceneManager>();
		}