| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: 2025年9月2日
|
| | | // [ Date ]: 2026年6月4日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public int[] animIndex;
|
| | | public int audio;
|
| | | public string nodeName;
|
| | | public int BindPos;
|
| | | public int notShow;
|
| | | public int autoDestroy;
|
| | | public float destroyDelay;
|
| | |
| | |
|
| | | nodeName = tables[6];
|
| | |
|
| | | int.TryParse(tables[7],out notShow); |
| | | int.TryParse(tables[7],out BindPos); |
| | |
|
| | | int.TryParse(tables[8],out autoDestroy); |
| | | int.TryParse(tables[8],out notShow); |
| | |
|
| | | float.TryParse(tables[9],out destroyDelay); |
| | | int.TryParse(tables[9],out autoDestroy); |
| | |
|
| | | int.TryParse(tables[10],out isLoop); |
| | | float.TryParse(tables[10],out destroyDelay); |
| | |
|
| | | int.TryParse(tables[11],out frontBack); |
| | | int.TryParse(tables[11],out isLoop); |
| | |
|
| | | float.TryParse(tables[12],out delayPlay); |
| | | int.TryParse(tables[12],out frontBack); |
| | |
|
| | | if (tables[13].Contains("[")) |
| | | float.TryParse(tables[13],out delayPlay); |
| | |
|
| | | if (tables[14].Contains("[")) |
| | | { |
| | | effectPos = JsonMapper.ToObject<int[]>(tables[13]); |
| | | effectPos = JsonMapper.ToObject<int[]>(tables[14]); |
| | | } |
| | | else |
| | | { |
| | | string[] effectPosStringArray = tables[13].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | string[] effectPosStringArray = tables[14].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | effectPos = new int[effectPosStringArray.Length]; |
| | | for (int i=0;i<effectPosStringArray.Length;i++) |
| | | { |
| | |
| | | } |
| | | }
|
| | |
|
| | | float.TryParse(tables[14],out effectScale); |
| | | float.TryParse(tables[15],out effectScale); |
| | | }
|
| | | catch (Exception exception)
|
| | | {
|