private void BuildLevel1() { //level frame Camera.main.transform.position = new Vector3(10, 15, 10); Camera.main.orthographicSize = 20; //Change player's starting position model.player.character.rigidbody.position = new Vector3(0, 0, 8); //min x= -2 max x =20 //min z = -2 max z = 16 //framework for level model.AddPike(21, 1, 9, -2); //floor model.AddPlatform(1, 19, -2, 7); //left wall model.AddPlatform(1, 19, 20, 7); //right wall model.AddPlatform(21, 1, 9, 16); //ceilling //other platform model.AddPlatform(3, 1, 0, 6); //start platform //model.AddPlatform(10, 1, 12, 7);//middle one model.AddPlatform(3, 1, 5, 10); //second platform next to start model.AddPlatform(1, 1, 9, 3); //Small platform on the bottom model.AddPlatform(1, 4, 15, 3); //left part of teleport container model.AddPlatform(3, 1, 16, 2); //bottom part of teleport container model.AddPlatform(1, 4, 18, 3); //right part of teleport container //Moving platforms model.AddMovingPlatform(3, 1, 12, 5, 1, 4); // Elevator platform near small platform // Magic platforms model.AddMagicPlatform(4, 4, 16, 7, 3, 3); // Teleport platform model.AddTeleportPlatform(1, 1, 17, 3, 50, 60, 59, 57); // Pikes model.AddPike(1, 5, 9, 10); //pike near second platform }