Пример #1
0
    void Start()
    {
        g_game_Con_Script = GameObject.Find("Game_Controller").GetComponent <Game_Controller>();
        g_check_Script    = GameObject.Find("Dice_Controller").GetComponent <Check_Dice>();

        g_rotate_Script = GetComponent <Dice_Rotate>();
        g_work_Array    = new int[6];
        //縦横高さを決めた数へ変更する
        (g_max_Ver, g_max_Side, g_max_High) = g_game_Con_Script.Get_Array_Max();
        //スタート時にくっつくダイスを探す
        All_Check();
    }