Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | |
|
| | | if (debugAccount)
|
| | | {
|
| | | var parentDirectory = Directory.GetParent(Application.persistentDataPath);
|
| | | var content = File.ReadAllText(parentDirectory + "/Debug");
|
| | | if (!string.IsNullOrEmpty(content))
|
| | | if (Application.isMobilePlatform)
|
| | | {
|
| | | var json = JsonMapper.ToObject<DebugBranch>(File.ReadAllText(parentDirectory + "/Debug"));
|
| | | debugBranch = json.branch;
|
| | | var parentDirectory = Directory.GetParent(Application.persistentDataPath);
|
| | | if (File.Exists(parentDirectory + "/Debug"))
|
| | | {
|
| | | var content = File.ReadAllText(parentDirectory + "/Debug");
|
| | | if (!string.IsNullOrEmpty(content))
|
| | | {
|
| | | var json = JsonMapper.ToObject<DebugBranch>(File.ReadAllText(parentDirectory + "/Debug"));
|
| | | debugBranch = json.branch;
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | public static List<int> equipDecomposeScreen = new List<int>();
|
| | | public static Dictionary<int, float> AtkTypeIncreasePushDis = new Dictionary<int, float>();
|
| | | public static Dictionary<int, CameraController.LookAtData> NpcDieSetCamera = new Dictionary<int, CameraController.LookAtData>();
|
| | | public static int BlueEquipJumpLevel { get; private set; }
|
| | |
|
| | | public static void Init()
|
| | | {
|
| | | try
|
| | | {
|
| | | BlueEquipJumpLevel = GetInt("BlueEquipJumpLevel");
|
| | | initDepotGridCount = GetInt("InitDepotCellCount");
|
| | | maxDepotGridCount = GetInt("MaxDepotCellCount");
|
| | | initBagGridCount = GetInt("InitBagCellCount");
|
| | |
| | | [SerializeField] Button m_Puton;
|
| | | [SerializeField] Button m_BetterEquipDetail;
|
| | |
|
| | |
|
| | | PackModel playerPack { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
|
| | | BetterEquipGetModel model { get { return ModelCenter.Instance.GetModel<BetterEquipGetModel>(); } }
|
| | | EquipModel equipModel { get { return ModelCenter.Instance.GetModel<EquipModel>(); } }
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | if (itemConfig.ItemColor >= 3)
|
| | | if ((PlayerDatas.Instance.baseData.LV < GeneralDefine.BlueEquipJumpLevel && itemConfig.ItemColor >= 2)
|
| | | || itemConfig.ItemColor >= 3)
|
| | | {
|
| | | playerPack.SetLookIndex(betterEquip.guid);
|
| | | WindowCenter.Instance.Close<MainInterfaceWin>();
|
| | |
| | |
|
| | | if (FunctionalGuideCenter.Instance.IsAreaNeedUnflod(2))
|
| | | {
|
| | | m_MainPositionTween.SwitchFunctions(new MainPositionTween.SwitchParam() { showDefault = true, immediately = false });
|
| | | m_MainPositionTween.SwitchFunctions(new MainPositionTween.SwitchParam() { showDefault = false, immediately = false });
|
| | | m_HighSettingFadeInFadeOut.SwitchImmedidately(true);
|
| | | }
|
| | | }
|