| | |
| | | public static int mainWinTopCloseTime { get; private set; }
|
| | | 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 void Init()
|
| | | {
|
| | |
| | | {
|
| | | AtkTypeIncreasePushDis[int.Parse(_ks[i])] = int.Parse(_vs[i]) * Constants.F_DELTA;
|
| | | }
|
| | |
|
| | | func = FuncConfigConfig.Get("NpcDieSetCamera");
|
| | | if (func != null)
|
| | | {
|
| | | var _jsonData = LitJson.JsonMapper.ToObject(func.Numerical1);
|
| | | for (i = 0; i < _jsonData.Count; ++i)
|
| | | {
|
| | | var _child = _jsonData[i];
|
| | | var _lookAtData = new CameraController.LookAtData();
|
| | | _lookAtData.position = new Vector3(MathUtility.GetFloatFromLitJson(_child[1][0]),
|
| | | MathUtility.GetFloatFromLitJson(_child[1][1]),
|
| | | MathUtility.GetFloatFromLitJson(_child[1][2]));
|
| | | _lookAtData.rotX = (int)_child[2];
|
| | | _lookAtData.rotY = (int)_child[3];
|
| | | _lookAtData.lastTime = MathUtility.GetFloatFromLitJson(_child[4]);
|
| | |
|
| | | NpcDieSetCamera[(int)_child[0]] = _lookAtData;
|
| | | }
|
| | | }
|
| | | }
|
| | | catch (Exception ex)
|
| | | {
|