完善配置文档

This commit is contained in:
shenjianxing 2024-12-25 11:25:06 +08:00
parent be7bc8fea4
commit 927e63cec2

View File

@ -90,6 +90,14 @@
<!--给程序使用的:自定义脚本 挂空预制体上 预制体放在Resources/CustomAction目录下 执行完毕后记得使用StringEventSystem.Global.Send(finishedEvent)--> <!--给程序使用的:自定义脚本 挂空预制体上 预制体放在Resources/CustomAction目录下 执行完毕后记得使用StringEventSystem.Global.Send(finishedEvent)-->
<Action type="Script" value="MyAction" finishedEvent="111"/> <Action type="Script" value="MyAction" finishedEvent="111"/>
<!--
给物体设置Collider path是物体路径 DeviceName是Device名字 与path二选一 colliderTypeAddBox AddMesh Remove Active
当colliderType为AddBox的时候 args用|分割后 第一个参数是 中心点 第二个参数是box碰撞的大小
当colliderType为Active的时候 args为false或者是true
当colliderType为AddMesh和Remove的时候 args不需要
-->
<Action type="Collider" path="路径和DeviceName二选一" deviceName="肠钳" colliderType="AddBox" args="0,0,0|1,1,1"></Action>
<!--预加载模块 要在app.xml的Data标签内--> <!--预加载模块 要在app.xml的Data标签内-->
<PreLoad> <PreLoad>
<Action type="Parallel"> <Action type="Parallel">