已经可以重新恢复运行, 成功提升到RScript版本
This commit is contained in:
@@ -89,9 +89,9 @@ namespace Demo.Game
|
||||
/// <param name="to"></param>
|
||||
/// <param name="curveType">可取值为30种缓动曲线</param>
|
||||
[Convention.RScript.Variable.Attr.Method]
|
||||
public void Add(float time, float from, float to, string curveType)
|
||||
public void Add(float time, float from, float to, MathExtension.EaseCurveType curveType)
|
||||
{
|
||||
ManualAddEntry(time, new(from, to), Enum.Parse<MathExtension.EaseCurveType>(curveType));
|
||||
ManualAddEntry(time, new(from, to), curveType);
|
||||
}
|
||||
|
||||
[Convention.RScript.Variable.Attr.Method]
|
||||
|
||||
Reference in New Issue
Block a user