private void Awake()
    {
        board_Setting        = new Functions.Board_Setting();
        candy_Init           = new Functions.Candy_Init();
        fill_Board           = new Functions.Fill_Board();
        breaking             = new Functions.Breaking();
        match_Finder         = new Functions.Match_Finder();
        values               = new Functions.C_Value();
        swap_Board           = new Functions.Swap_Board();
        check_Predicted_Case = new Functions.Check_Predicted_Case();

        // 아틀라스 이미지 로드
        m_atlas = Resources.Load <SpriteAtlas>("FruitAtlas");
    }
Example #2
0
 public void Update_MotorWantedAnglesFromRobotArmWantedAngles()
 {
     foreach (C_Motor mot in MainWindow.Ms)
     {
         mot.angleWanted.Dec_FromDefault = C_Value.CONV_rad2deg(ra[mot.rotMotor]);
         if (config.motorSpeedControl == true)
         {
             mot.speedWanted.Dec = mot.speedWanted.DecMax;
         }
         else
         {
             mot.speedWanted.Dec = C_DynVal.SET_MOV_SPEED_NOCONTROL;
         }
     }
 }