示例#1
0
 void Start()
 {
     g_work_array         = new int[4];
     g_player_move_Script = this.GetComponent <Player_Move>();
     g_timer            = g_start_timer;
     g_pushStart_Script = GameObject.Find("StartChackObj").GetComponent <PushStartScri>();
     g_undo_Script      = GameObject.Find("Game_Controller").GetComponent <Undo_Script>();
 }
示例#2
0
    void Start()
    {
        //画像コンポーネントを格納
        g_option[0].GetComponent <Image>().sprite = g_enableImage[0];

        g_pushStart_Script = GameObject.Find("StartChackObj").GetComponent <PushStartScri>();
        g_se_source_Script = GameObject.Find("SEList").GetComponent <Se_Source>();
    }
示例#3
0
 void Start()
 {
     g_this_Obj                  = this.gameObject;
     g_camera_pointer            = 0;
     g_this_Obj.transform.parent = g_camera_Array[g_camera_pointer].transform;
     Local_PosAndRotation_Reset();
     g_pushStart_Script   = GameObject.Find("StartChackObj").GetComponent <PushStartScri>();
     g_directCameraObject = GameObject.Find("Display_5");
 }
示例#4
0
 void Start()
 {
     g_json_Script         = GameObject.Find("Game_Controller").GetComponent <Input_Data>();
     g_menu_Script         = GameObject.Find("StartChackObj").GetComponent <PushStartScri>();
     g_camera_move_Script  = GameObject.Find("MainCamera").GetComponent <MainCamera_Move>();
     g_bgmObj              = GameObject.Find("BGM_Source");
     g_troublenumtext      = GetComponent <Text>();
     g_troublenum          = g_json_Script.g_inputJson.g_trouble;
     g_troublenumtext.text = g_troublenum.ToString();
     g_max_trouble         = g_troublenum;
 }
示例#5
0
 void Start()
 {
     g_menu_Script        = GameObject.Find("StartChackObj").GetComponent <PushStartScri>();
     g_camera_move_Script = GameObject.Find("MainCamera").GetComponent <MainCamera_Move>();
     g_fade_Script        = GameObject.Find("Fade_Image").GetComponent <Fade_In_Out>();
 }