Lib.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. public class Lib
  5. {
  6. public static string ConfigPrefs = "config";
  7. public static string AudioPrefs = "AudioOn";
  8. public static string MusicPrefs = "MusicOn";
  9. public static Color SelfMessage = new Color(21/255f, 96/255f, 96/255f, 1);
  10. public static Color OtherMessage = new Color(0, 0, 0, 180/255f);
  11. public static Color FirstRank = new Color(1, 128/255f, 171/255f, 1);
  12. public static Color SecondRank = new Color(95/255f, 214/255f, 1, 1);
  13. public static Color ThirdRank = new Color(54/255f, 205/255f, 124/255f, 1);
  14. public static Color NormalRank = new Color(185/255f, 185/255f, 185/255f, 1);
  15. public static Color Pink = new Color(1, 60/255f, 60/255f, 1);
  16. public static Color Orange = new Color(233/255f, 63/255f, 20/255f, 1);
  17. public static Color LightGray = new Color(165/255f, 192/255f, 200/255f, 1);
  18. public static Color RoomClosing = new Color(240/255f, 103/255f, 101/255f, 1);
  19. public static Color RoomRunning = new Color(90/255f, 170/255f, 39/255f, 1);
  20. public static Material GrayMat
  21. {
  22. get { return ManaReso.Load<Material>("GrayMat", Folder.UI); }
  23. }
  24. public static Material GraySpriteMat
  25. {
  26. get { return ManaReso.Load<Material>("GraySpriteMat", Folder.UI); }
  27. }
  28. public static Material GrayMeshMat
  29. {
  30. get { return ManaReso.Load<Material>("GrayMeshMat", Folder.UI); }
  31. }
  32. }