public override void Open() { base.Open(); //X轴移动速度 isInitCameraMoveSpeedX = false; settingCameraMoveSpeedX = CreateItemForRange(TextHandler.Instance.GetTextById(114), HandleForCameraMoveSpeedX); settingCameraMoveSpeedX.SetMinMax(0.1f, 10f); isInitCameraMoveSpeedX = true; settingCameraMoveSpeedX.SetPro(gameConfig.speedForPlayerCameraMoveX); //Y轴移动速度 isInitCameraMoveSpeedY = false; settingCameraMoveSpeedY = CreateItemForRange(TextHandler.Instance.GetTextById(115), HandleForCameraMoveSpeedY); settingCameraMoveSpeedY.SetMinMax(0.001f, 0.1f); isInitCameraMoveSpeedY = true; settingCameraMoveSpeedY.SetPro(gameConfig.speedForPlayerCameraMoveY); }
public override void Open() { base.Open(); //ÓïÑÔÑ¡Ôñ settingSelectLanguage = CreateItemForSelect(TextHandler.Instance.GetTextById(101), listLanguageData, HandleForSelectLanguage); settingSelectLanguage.SetIndex((int)gameConfig.GetLanguage()); //¼ÓÔØ·¶Î§¡¤ worldRefreshRange = CreateItemForRange(TextHandler.Instance.GetTextById(116), HandleForWorldRefreshRange); worldRefreshRange.SetMinMax(3, 16); isInitWorldRefreshRange = true; worldRefreshRange.SetPro(gameConfig.worldRefreshRange); //жÔØ·¶Î§ worldDestoryRange = CreateItemForRange(TextHandler.Instance.GetTextById(117), HandleForWorldDestoryRange); worldDestoryRange.SetMinMax(3, 10); isInitWorldDestoryRange = true; worldDestoryRange.SetPro(gameConfig.worldDestoryRange); }