tool that places TownHarvestTask at points that have structures that match a harvest tasks PrimaryStructureKey
harvest tasks have to be known to TownManager
https://citybuilder.softleitner.com/manual/town
|
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
|
|
|
override void | DeactivateTool () |
|
virtual void | ActivateTool () |
|
virtual int | GetCost (Item item) |
|
void | OnPointerEnter (PointerEventData eventData) |
|
void | OnPointerExit (PointerEventData eventData) |
|
bool | _isPointerInside |
|
◆ Start()
override void CityBuilderTown.TownHarvestTool.Start |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ TooltipName
override string CityBuilderTown.TownHarvestTool.TooltipName |
|
get |