Setup Unit Movement | Unity RTS Engine Documentation
目录
Setup Unit Movement | Unity RTS Engine Documentation
5.3.1 将单位添加到派系(Add Unit to Faction Slot)
5.2 配置单位移动
-
5.2.1 通用选项卡
- Code: 代码标识
- Is Active: 是否启用
- Priority: 没理解, 说是给目标设置优先级
When an entity has multiple entity components that allow to have targets, the player can have the entity selected and then right-clicks on a target in the map to assign one of the components a target. This field defines the order in which the components will be considered to set the target. The component with the lowest priority value will be considered first and if it does not allow the target that the player sets, then the component with the next higher priority value will be considered next until one component accepts the target as valid. In our case, we only currently have the Unit Movement component as an entity component on the unit, therefore we can leave the priority

该博客围绕Unity RTS引擎展开,介绍了单位移动的配置,包括通用、目标、移动、旋转等选项卡设置,以及网格移动、移动管理器的相关内容。还说明了添加单位到地图的方法,如添加到派系和自由派系,涉及UnitManager脚本。


1568

被折叠的 条评论
为什么被折叠?



