12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- using UnityEngine;
- using System.Collections;
- using System.Collections.Generic;
- public class Lib
- {
- public static string ConfigPrefs = "config";
- public static string AudioPrefs = "AudioOn";
- public static string MusicPrefs = "MusicOn";
- public static Color SelfMessage = new Color(21/255f, 96/255f, 96/255f, 1);
- public static Color OtherMessage = new Color(0, 0, 0, 180/255f);
- public static Color FirstRank = new Color(1, 128/255f, 171/255f, 1);
- public static Color SecondRank = new Color(95/255f, 214/255f, 1, 1);
- public static Color ThirdRank = new Color(54/255f, 205/255f, 124/255f, 1);
- public static Color NormalRank = new Color(185/255f, 185/255f, 185/255f, 1);
- public static Color Pink = new Color(1, 128/255f, 171/255f, 1);
- public static Color Orange = new Color(233/255f, 63/255f, 20/255f, 1);
- public static Color LightGray = new Color(165/255f, 192/255f, 200/255f, 1);
- public static Color RoomClosing = new Color(240/255f, 103/255f, 101/255f, 1);
- public static Color RoomRunning = new Color(90/255f, 170/255f, 39/255f, 1);
- public static Color PraiseTextWhite = new Color(1, 1, 1, 1);
- public static Color PraiseTextBlue = new Color(94/255f, 114/255f, 216/255f, 1);
- public static Color PrivateMessageSelfGreen = new Color(122/255f, 188/255f, 89/255f, 1);
- public static Color PrivateMessageOtherBlack = new Color(0/255f, 0/255f, 0/255f, 180/255f);
- public static Sprite WifiOn
- {
- get { return ResourceManager.LoadSprite(ResourceLabel.WifiOn, Folder.UI); }
- }
- public static Sprite WifiOff
- {
- get { return ResourceManager.LoadSprite(ResourceLabel.WifiOff, Folder.UI); }
- }
- public static Sprite PackSprite
- {
- get { return ResourceManager.LoadSprite(ResourceLabel.Pack, Folder.UI); }
- }
- public static Sprite GoldSprite
- {
- get { return ResourceManager.LoadSprite(ResourceLabel.Gold, Folder.UI); }
- }
- public static Sprite DiamondSprite
- {
- get { return ResourceManager.LoadSprite(ResourceLabel.Diamond, Folder.UI); }
- }
- public static Sprite BigGoldSprite
- {
- get { return ResourceManager.LoadSprite(ResourceLabel.BigGold, Folder.Scene); }
- }
- public static Sprite Atlas
- {
- get { return ResourceManager.LoadSprite(ResourceLabel.Atlas, Folder.Atlas); }
- }
- public static Material GrayMat
- {
- get { return ResourceManager.Load<Material>(ResourceLabel.GrayMat, Folder.UI); }
- }
- public static Material UIMaskMat
- {
- get { return ResourceManager.Load<Material>(ResourceLabel.UIMaskMat, Folder.UI); }
- }
- public static Material GraySpriteMat
- {
- get { return ResourceManager.Load<Material>(ResourceLabel.GraySpriteMat, Folder.UI); }
- }
- public static Material GrayMeshMat
- {
- get { return ResourceManager.Load<Material>(ResourceLabel.GrayMeshMat, Folder.UI); }
- }
- public static Material DragonboneUGUIMat
- {
- get { return ResourceManager.Load<Material>(ResourceLabel.DragonboneUGUIMat, Folder.UI); }
- }
- }
|