EnterEditMode() public méthode

public EnterEditMode ( ParcelScene scene ) : void
scene ParcelScene
Résultat void
Exemple #1
0
 public void StartBiwControllers()
 {
     biwModeController.EnterEditMode(sceneToEdit);
     builderInWorldEntityHandler.EnterEditMode(sceneToEdit);
     biwFloorHandler.EnterEditMode(sceneToEdit);
     biwCreatorController.EnterEditMode(sceneToEdit);
     biwPublishController.EnterEditMode(sceneToEdit);
     bIWInputHandler.EnterEditMode(sceneToEdit);
     outlinerController.EnterEditMode(sceneToEdit);
 }
Exemple #2
0
    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);
    }
Exemple #3
0
    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);
    }