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); }
public TitleState(SceneManager stateManager) { //初期化 manager = stateManager; Time.timeScale = 0; }
public PlayState(SceneManager stateManager) { //初期化 manager = stateManager; }
[SetUp] public void Init() { iManager = GetManagerMock (); managerCtrl = GetControllerMock (iManager); manager = Substitute.For<SceneManager>(); }