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>(); }
void Start() { g_game_Con_Script = GameObject.Find("Game_Controller").GetComponent <Game_Controller>(); g_check_Script = this.GetComponent <Move_Check>(); g_dice_fall_Script = this.GetComponent <Dice_Fall>(); g_undo_Script = GameObject.Find("Game_Controller").GetComponent <Undo_Script>(); //配列を生成 g_work_Objs_Array = new GameObject[g_array_max, g_array_max, g_array_max]; }