Previous topicNext topic
 览星代码帮助
Help > 代码教程 > 类划分种 > 核心 > 按影响分类 > 建筑专利
建筑专利

参考:建筑实例/讲解

 

[core] >isBuilding
是建筑定义单位是否为建筑物。没有其他的都失效

[core] >footprint
建筑碰撞范围,详细查看建筑实例/讲解

[core] >constructionFootprint
建筑覆盖范围,详细查看建筑实例/讲解

[core] >displayFootprint
建筑选择UI

[core] >buildingSelectionOffset
建筑UI调整

[core] >buildingToFootprintOffsetX
建筑X轴偏移

[core] >buildingToFootprintOffsetY
建筑Y轴偏移

[core] >placeOnlyOnResPool
建筑只能建造在资源池上


览星工作室制作