Commit fdee1279bf0c85158e6f7f2f5166f2182eb0eda1
1 parent
353c48d8
ColliderRelation
Showing
2 changed files
with
16 additions
and
0 deletions
Show diff stats
No preview for this file type
Defines/common.xml
... | ... | @@ -13,6 +13,22 @@ |
13 | 13 | <var name="title" type="string"/> |
14 | 14 | </bean> |
15 | 15 | |
16 | + <enum name="ColliderTag" comment="碰撞标签"> | |
17 | + <var name="EnemyBody" /> | |
18 | + <var name="PlayerBody" /> | |
19 | + <var name="EnemyBullet" /> | |
20 | + <var name="PlayerBullet" /> | |
21 | + <var name="CatBody" /> | |
22 | + <var name="HitCatBullet" comment="只与CatBody碰撞"/> | |
23 | + <var name="AllBullet" comment="与所有Body类型碰撞"/> | |
24 | + </enum> | |
25 | + | |
26 | + <bean name="ColliderRelation"> | |
27 | + <var name="ColliderA" type="ColliderTag"/> | |
28 | + <var name="Others" type="list,ColliderTag"/> | |
29 | + </bean> | |
30 | + | |
16 | 31 | <table name="TbUnityScene" index = "id,assetName" value="UnityScene" input="common/UnityScene.xlsx"/> |
17 | 32 | <table name="TbDevLog" value="DevLog" input="common/DevLog.xlsx"/> |
33 | + <table name="TbColliderRelation" value="ColliderRelation" input="common/ColliderRelation.xlsx"/> | |
18 | 34 | </module> |
19 | 35 | \ No newline at end of file | ... | ... |