正在为RScript更新内容(已通过编译)
This commit is contained in:
@@ -104,11 +104,7 @@ namespace Demo.Game
|
||||
/// 绑定IInteraction对象,若不手动绑定则会自动绑定到父物体的IInteraction
|
||||
/// </summary>
|
||||
/// <param name="path"></param>
|
||||
[ScriptableCall(@"
|
||||
<summary>
|
||||
绑定IInteraction对象,若不手动绑定则会自动绑定到父物体的IInteraction
|
||||
</summary>
|
||||
")]
|
||||
[Convention.RScript.Variable.Attr.Method]
|
||||
public void Bind(string path)
|
||||
{
|
||||
MyInteractionModule = FindWithPath(path) as IInteraction;
|
||||
@@ -118,12 +114,7 @@ namespace Demo.Game
|
||||
/// 设置监听状态,当目标进入指定监听的状态时触发启动事件,退出时触发结束事件
|
||||
/// </summary>
|
||||
/// <param name="type">VisibleDuration,InteractiveDuration,InteractableScoreInterval,InteractableIntervalThatCanScoreBest</param>
|
||||
[ScriptableCall(@"
|
||||
<summary>
|
||||
设置监听状态,当目标进入指定监听的状态时触发启动事件,退出时触发结束事件
|
||||
</summary>
|
||||
<param name=""type"">VisibleDuration,InteractiveDuration,InteractableScoreInterval,InteractableIntervalThatCanScoreBest</param>
|
||||
")]
|
||||
[Convention.RScript.Variable.Attr.Method]
|
||||
public void SetInteractiveEffectType(string type)
|
||||
{
|
||||
MyInteractiveLevel = Enum.Parse<InteractiveEffectType>(type);
|
||||
|
||||
Reference in New Issue
Block a user