コード例 #1
0
 private void setColors()
 {
     InGameSelectedLetterColor = FugoUtils.HexToColor(set.InGameSelectedLetterColor);
     SelectedLetterBGColor     = FugoUtils.HexToColor(set.InGameSelectedLetterBGColor);
     InGameLetterColor         = FugoUtils.HexToColor(set.InGameLetterColor);
     if (section.FirstSetColor != null)
     {
         FirstSetColor = FugoUtils.HexToColor(section.FirstSetColor);
     }
     TileColor        = FugoUtils.HexToColor(set.InGameTileColor);
     WheelColor       = FugoUtils.HexToColor(set.InGameCircleColor);
     HeaderColor      = FugoUtils.HexToColor(set.InGameHeaderColor);
     RibbonColor      = FugoUtils.HexToColor(set.InGameRibbonColor);
     WheelStrokeColor = FugoUtils.Color(253, 181, 47);
     if (PlayerPrefsManager.IsBlueMode() && PlayerPrefsManager.GetInGameLetterColor() != string.Empty)
     {
         SelectedLetterBGColor = FugoUtils.HexToColor(PlayerPrefsManager.GetInGameLetterColor());
     }
 }