首先我会提供一个模板然后讲解内容。模板如下:
[attachment_1]
x: 0
y: 0
height: 0
idleDir:0
lockDir:false
isVisible: true
onCreateSpawnUnitOf:单位
canBeAttackedAndDamaged:true
isUnselectable: true
lockLegMovement: false
resetRotationWhenNotAttacking:true
keepAliveWhenParentDies:false
setDrawLayerOnBottom: false
setDrawLayerOnTop: true
addTransportedUnits:false
lockRotation: false
rotateWithParent: false
canAttack: true