| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: YYL
|
| | | // [ Date ]: Thursday, August 21, 2025
|
| | | // [ Date ]: 2025年9月2日
|
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public int isLoop;
|
| | | public int frontBack;
|
| | | public float delayPlay;
|
| | | public int[] effectPos;
|
| | | public float effectScale;
|
| | |
|
| | | public override int LoadKey(string _key)
|
| | | {
|
| | |
| | | int.TryParse(tables[11],out frontBack);
|
| | |
|
| | | float.TryParse(tables[12],out delayPlay);
|
| | |
|
| | | if (tables[13].Contains("[")) |
| | | { |
| | | effectPos = JsonMapper.ToObject<int[]>(tables[13]); |
| | | } |
| | | else |
| | | { |
| | | string[] effectPosStringArray = tables[13].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries); |
| | | effectPos = new int[effectPosStringArray.Length]; |
| | | for (int i=0;i<effectPosStringArray.Length;i++) |
| | | { |
| | | int.TryParse(effectPosStringArray[i],out effectPos[i]); |
| | | } |
| | | }
|
| | |
|
| | | float.TryParse(tables[14],out effectScale); |
| | | }
|
| | | catch (Exception exception)
|
| | | {
|