tool that moves one or more structures to a different position
which structures can be moved is determined by IStructure.IsMovable
this can be set in BuildingInfo for buildings, some structures have a checkbox
https://citybuilder.softleitner.com/manual
|
| override void | DeactivateTool () |
| |
|
void | MoveOnce (IBuilding building) |
| |
| override void | DeactivateTool () |
| |
|
virtual void | ActivateTool () |
| |
|
virtual int | GetCost (Item item) |
| |
|
void | OnPointerEnter (PointerEventData eventData) |
| |
|
void | OnPointerExit (PointerEventData eventData) |
| |
|
| override void | Start () |
| |
|
override void | updatePointer (Vector2Int mousePoint, Vector2Int dragStart, bool isDown, bool isApply) |
| |
| 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 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
|
| |
◆ DeactivateTool()
| override void CityBuilderCore.MoveTool.DeactivateTool |
( |
| ) |
|
|
inlinevirtual |
◆ Start()
| override void CityBuilderCore.MoveTool.Start |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ TooltipName
| override string CityBuilderCore.MoveTool.TooltipName |
|
get |