public EnterEditMode ( ParcelScene scene ) : void | ||
scene | ParcelScene | |
Результат | void |
public void StartBiwControllers() { biwModeController.EnterEditMode(sceneToEdit); builderInWorldEntityHandler.EnterEditMode(sceneToEdit); biwFloorHandler.EnterEditMode(sceneToEdit); biwCreatorController.EnterEditMode(sceneToEdit); biwPublishController.EnterEditMode(sceneToEdit); bIWInputHandler.EnterEditMode(sceneToEdit); outlinerController.EnterEditMode(sceneToEdit); }
protected override IEnumerator SetUp() { yield return(base.SetUp()); controller = Resources.FindObjectsOfTypeAll <BuilderInWorldController>()[0]; controller.InitGameObjects(); controller.FindSceneToEdit(); controller.InitControllers(); biwModeController = controller.biwModeController; biwModeController.EnterEditMode(scene); }
protected override IEnumerator SetUp() { yield return(base.SetUp()); biwModeController = new BIWModeController(); BIWActionController actionController = new BIWActionController(); var referencesController = BIWTestHelper.CreateReferencesControllerWithGenericMocks( actionController, biwModeController, InitialSceneReferences.i ); biwModeController.Init(referencesController); actionController.Init(referencesController); biwModeController.EnterEditMode(scene); actionController.EnterEditMode(scene); }