special builder that can place ExpandableBuilding of dynamic size by dragging out the size
https://citybuilder.softleitner.com/manual/buildings
|
| override void | Start () |
| |
| override void | updateTool () |
| |
|
override void | updatePointer (Vector2Int mousePoint, Vector2Int dragStart, bool isDown, bool isApply) |
| |
|
virtual void | recreateGhost () |
| |
|
virtual bool | checkCost (Vector2Int expansion) |
| |
|
virtual int | getExpansionCount (Vector2Int expansion) |
| |
|
virtual void | build (Vector2Int point, BuildingRotation rotation, Vector2Int expansion) |
| |
| override void | updateTool () |
| |
|
void | updatePointer (Vector2Int mousePoint, Vector2Int dragStart, bool isDown, bool isApply) |
| |
|
void | onApplied () |
| |
|
virtual void | OnDisable () |
| |
|
void | enter () |
| |
|
void | exit () |
| |
|
| override string | TooltipName [get] |
| | main text in the tooltip
|
| |
| override string | TooltipDescription [get] |
| | smaller but potentially longer text below the main text
|
| |
|
override bool | IsTouchPanAllowed [get] |
| |
|
virtual bool | ShowGrid [get] |
| | whether the IGridOverlay gets shown for this tool
|
| |
|
virtual bool | IsTouchPanAllowed [get] |
| | whether the camera can be panned by touch drag
|
| |
|
bool | IsToolActive [get] |
| |
|
bool | IsTouchActivated [get] |
| |
| virtual string | TooltipName [get] |
| | main text in the tooltip
|
| |
| virtual string | TooltipDescription [get] |
| | smaller but potentially longer text below the main text
|
| |
◆ ActivateTool()
| override void CityBuilderCore.ExpandableBuilder.ActivateTool |
( |
| ) |
|
|
inlinevirtual |
◆ DeactivateTool()
| override void CityBuilderCore.ExpandableBuilder.DeactivateTool |
( |
| ) |
|
|
inlinevirtual |
◆ GetCost()
| override int CityBuilderCore.ExpandableBuilder.GetCost |
( |
Item | item | ) |
|
|
inlinevirtual |
◆ Start()
| override void CityBuilderCore.ExpandableBuilder.Start |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ updateTool()
| override void CityBuilderCore.ExpandableBuilder.updateTool |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ TooltipDescription
| override string CityBuilderCore.ExpandableBuilder.TooltipDescription |
|
get |
◆ TooltipName
| override string CityBuilderCore.ExpandableBuilder.TooltipName |
|
get |