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

		}
			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;
		}
		[SetUp] public void Init()
		{
			iManager = GetManagerMock ();
			managerCtrl = GetControllerMock (iManager);
			manager = Substitute.For<SceneManager>();
		}