Exemple #1
0
 public override void Instanciate_scenary()
 {
     base.Instanciate_scenary();
     gun = helper.game_object.Find._ <weapon.gun.Linear_gun>(
         scene, "linear_gun");
     center = scene.transform.Find("assert_collision_center")
              .GetComponent <tests_tool.Assert_colision>();
 }
Exemple #2
0
 public override void Instanciate_scenary()
 {
     base.Instanciate_scenary();
     enemy_1 = scene.transform.Find("enemy 1");
     enemy_2 = scene.transform.Find("enemy 2");
     center  = helper.game_object.Find._ <tests_tool.Assert_colision>(
         scene, "center");
 }
Exemple #3
0
 public void Instanciate_scenary()
 {
     scene =
         Resources.Load(
             "_test/scene/controller/3d/" +
             "side_scroll/basic_jump") as GameObject;
     scene    = helper.instantiate._(scene);
     player   = scene.transform.Find("player").gameObject;
     assert_1 = scene.transform.Find("assert_collision_1")
                .GetComponent <tests_tool.Assert_colision>();
     assert_2 = scene.transform.Find("assert_collision_2")
                .GetComponent <tests_tool.Assert_colision>();
 }
Exemple #4
0
 public override void Instanciate_scenary()
 {
     base.Instanciate_scenary();
     player = scene.transform.Find("player").gameObject;
     up     = scene.transform.Find("assert_collision_up")
              .GetComponent <tests_tool.Assert_colision>();
     down = scene.transform.Find("assert_collision_down")
            .GetComponent <tests_tool.Assert_colision>();
     left = scene.transform.Find("assert_collision_left")
            .GetComponent <tests_tool.Assert_colision>();
     right = scene.transform.Find("assert_collision_right")
             .GetComponent <tests_tool.Assert_colision>();
 }
Exemple #5
0
 public void Instanciate_scenary()
 {
     scene =
         Resources.Load(
             "_test/scene/controller/3d/basic_move") as GameObject;
     scene  = helper.instantiate._(scene);
     player = scene.transform.Find("player").gameObject;
     north  = scene.transform.Find("assert_collision_north")
              .GetComponent <tests_tool.Assert_colision>();
     south = scene.transform.Find("assert_collision_south")
             .GetComponent <tests_tool.Assert_colision>();
     west = scene.transform.Find("assert_collision_west")
            .GetComponent <tests_tool.Assert_colision>();
     east = scene.transform.Find("assert_collision_east")
            .GetComponent <tests_tool.Assert_colision>();
 }
Exemple #6
0
 public void Instanciate_scenary()
 {
     scene =
         Resources.Load(
             "_test/scene/controller/3d/" +
             "isometric/basic_move") as GameObject;
     scene    = helper.instantiate._(scene);
     player   = scene.transform.Find("player").gameObject;
     collider = helper.game_object.Find._(player, "Sphere");
     up       = scene.transform.Find("assert_collision_up")
                .GetComponent <tests_tool.Assert_colision>();
     down = scene.transform.Find("assert_collision_down")
            .GetComponent <tests_tool.Assert_colision>();
     left = scene.transform.Find("assert_collision_left")
            .GetComponent <tests_tool.Assert_colision>();
     right = scene.transform.Find("assert_collision_right")
             .GetComponent <tests_tool.Assert_colision>();
 }
Exemple #7
0
 public override void Instanciate_scenary()
 {
     scene =
         Resources.Load(
             "_test/scene/controller/3d/" +
             "isometric/basic_move_danmaku") as GameObject;
     scene  = helper.instantiate._(scene);
     player = scene.transform.Find("player").gameObject;
     up     = scene.transform.Find("assert_collision_up")
              .GetComponent <tests_tool.Assert_colision>();
     down = scene.transform.Find("assert_collision_down")
            .GetComponent <tests_tool.Assert_colision>();
     left = scene.transform.Find("assert_collision_left")
            .GetComponent <tests_tool.Assert_colision>();
     right = scene.transform.Find("assert_collision_right")
             .GetComponent <tests_tool.Assert_colision>();
     floor = scene.transform.Find("floor_1")
             .GetComponent <tests_tool.Assert_colision>();
 }