using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// 常用常量 /// public static class MyConstant { //----------世界---------- public static string GameScene = "Game"; public static string HallScene = "Hall"; //----------UI---------- /// /// 金币图标 /// public static string MoneyIcon="MoneyIcon"; //----------音效---------- /// /// 生成金币音效 /// public static string GenerateMoneyAudio = "OutMoney"; /// /// 金币到达音效 /// public static string ArriveMoneyAudio = "Bite"; //----------颜色---------- /// /// 黄色 /// public static Color Yellow = new Color(1,0.8f,0,1); /// /// 绿色 /// public static Color Green = new Color(0.15f, 0.8f, 0, 0.5f); /// /// 抖动显示 /// public static string ShakeShow = "ShakeShow"; /// /// 抖动隐藏 /// public static string ShakeHide = "ShakeHide"; /// /// 金币不足 /// public static string BeShortOfGoldCoins = "Not enough coins!!!"; }