修改项目根地址, 并将部分依赖于ToolFile的功能迁移至依赖Interaction以实现网络文件的获取
This commit is contained in:
104
Assets/StreamingAssets/Helper/ScriptableObject.helper.h
Normal file
104
Assets/StreamingAssets/Helper/ScriptableObject.helper.h
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
|
||||
<summary>
|
||||
重设指定时间线
|
||||
</summary>
|
||||
<param name="id">时间线ID,若不存在则创建</param>
|
||||
<param name="delta">当每次调用NextTimePoint函数时使用的单位值</param>
|
||||
<param name="value">初始化时间</param>
|
||||
|
||||
*/
|
||||
#define ResetTimePoint(id,delta,value)
|
||||
|
||||
/*
|
||||
|
||||
<summary>
|
||||
推动时间线前进
|
||||
</summary>
|
||||
<param name="id">时间线ID</param>
|
||||
<param name="times">前进次数,最终时间的增量为前进次数乘该时间线的单位值</param>
|
||||
|
||||
*/
|
||||
#define NextTimePoint(id,times)
|
||||
|
||||
/*
|
||||
|
||||
<summary>
|
||||
设置时间线的值
|
||||
</summary>
|
||||
<param name="id">时间线ID</param>
|
||||
<param name="value">次数,时间线的值将被设置为次数乘该时间线的单位值</param>
|
||||
|
||||
*/
|
||||
#define SetTimePoint(id,value)
|
||||
|
||||
/*
|
||||
|
||||
<summary>
|
||||
设置局部上下文变量,将会传递给子物体使用
|
||||
</summary>
|
||||
<param name="name">字符串</param>
|
||||
<param name="value">浮点数</param>
|
||||
|
||||
*/
|
||||
#define SetContext(name,value)
|
||||
|
||||
/*
|
||||
|
||||
<summary>
|
||||
设置坐标
|
||||
</summary>
|
||||
<param name="result"></param>
|
||||
<param name="y"></param>
|
||||
<param name="z"></param>
|
||||
|
||||
*/
|
||||
#define SetLocalPosition(x,y,z)
|
||||
|
||||
/*
|
||||
|
||||
<summary>
|
||||
设置欧拉角
|
||||
</summary>
|
||||
<param name="result"></param>
|
||||
<param name="y"></param>
|
||||
<param name="z"></param>
|
||||
|
||||
*/
|
||||
#define SetLocalEulerAngles(x,y,z)
|
||||
|
||||
/*
|
||||
|
||||
<summary>
|
||||
设置缩放
|
||||
</summary>
|
||||
<param name="result"></param>
|
||||
<param name="y"></param>
|
||||
<param name="z"></param>
|
||||
|
||||
*/
|
||||
#define SetLocalScaling(x,y,z)
|
||||
|
||||
/*
|
||||
|
||||
<summary>
|
||||
关闭该物体,
|
||||
在面对如多Game场景时关闭某些GameWorld中默认存在的全局灯光等场景时非常有用
|
||||
</summary>
|
||||
|
||||
*/
|
||||
#define SetObjectDisable()
|
||||
|
||||
#define __build_in_pragma #
|
||||
#define __build_in_to_text(x) #x
|
||||
/*
|
||||
|
||||
<summary>
|
||||
加载子脚本
|
||||
</summary>
|
||||
<param name="type">指定类型</param>
|
||||
<param name="path">指定脚本,可用决定路径或与当前脚本目录的相对路径</param>
|
||||
|
||||
*/
|
||||
#define LoadSubScript(type,path) __build_in_pragma include __build_in_to_text(./##type)
|
||||
|
||||
Reference in New Issue
Block a user