Example #1
0
        protected IEnumerator InitScene(bool spawnCharController = true)
        {
            sceneController = Environment.i.world.sceneController;

            yield return(new WaitForSeconds(0.01f));

            scene = sceneController.CreateTestScene();

            yield return(new WaitForSeconds(0.01f));

            if (spawnCharController)
            {
                if (DCLCharacterController.i == null)
                {
                    GameObject.Instantiate(Resources.Load("Prefabs/CharacterController"));
                }
            }
        }
 public void SetUp_TestScene()
 {
     scene = sceneController.CreateTestScene();
 }
 public void SetUp_TestScene()
 {
     scene = sceneController.CreateTestScene() as ParcelScene;
 }