Files
Convention-Unity-Demo/Assets/StreamingAssets/Helper/SplineAnchor.helper.h

37 lines
723 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "ScriptableObject.helper.h"
#define SplineAnchor
/*
<summary>
加载并绑定到新样条线
</summary>
<param name="path">对象相对路径,若对象不存在则作为脚本相对路径加载</param>
*/
#define LoadSpline(path)
/*
<summary>
必须先执行LoadSpline加载样条线
</summary>
<param name="value">百分比所在位置,取值范围是[01]</param>
*/
#define EvaluatePosition(value)
/*
<summary>
绑定到样条线渲染器上(必须已经加载),
并设置位置为指定时间的时刻渲染器所生成的头部位置
</summary>
<param name="path">对象路径, 不存在时则立刻加载</param>
<param name="time">时刻</param>
*/
#define LoadSplineRenderer(path,time)