Beispiel #1
0
 public Color GetColor(GameplayUIColorType type)
 {
     if (ColorsDictionary.ContainsKey(type))
     {
         return(ColorsDictionary[type]);
     }
     return(DEFAULT_COLOR);
 }
Beispiel #2
0
 public GameplayUIColorData(GameplayUIColorType type, Color color)
 {
     this.type  = type;
     this.color = color;
 }