1.基类已更新2.Spline更新3.ApplyLoad存在问题
This commit is contained in:
@@ -73,9 +73,9 @@ namespace Demo.Game
|
||||
/// <param name="to"></param>
|
||||
/// <param name="curveType">可取值为30种缓动曲线</param>
|
||||
[Convention.RScript.Variable.Attr.Method]
|
||||
public void Add(string time, string from, string to, string curveType)
|
||||
public void Add(string time, float from, float to, string curveType)
|
||||
{
|
||||
ManualAddEntry(time, new(float.Parse(from), float.Parse(to)), Enum.Parse<MathExtension.EaseCurveType>(curveType));
|
||||
ManualAddEntry(time, new(from, to), Enum.Parse<MathExtension.EaseCurveType>(curveType));
|
||||
}
|
||||
|
||||
[Convention.RScript.Variable.Attr.Method]
|
||||
@@ -85,6 +85,12 @@ namespace Demo.Game
|
||||
}
|
||||
|
||||
|
||||
[Convention.RScript.Variable.Attr.Method]
|
||||
public void LoadSpline(SplineCore spline)
|
||||
{
|
||||
this.MySplineCore = spline;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 加载对应ab包并加载指定材质
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user