|
ClassicCityBuilderKit 1.9.4
|
selects walkers and buildings under the mouse on click
Public Types | |
| enum | SelectionMethod { None , Raycast , Point } |
Public Attributes | |
| SelectionMethod | WalkerSelection = SelectionMethod.Raycast |
| SelectionMethod | BuildingSelection = SelectionMethod.Point |
| BuildingEvent | BuildingSelected |
| WalkerEvent | WalkerSelected |
| Vector2IntEvent | PointSelected |
| Color | HighlightColor = Color.clear |
| BuildingAddon | BuildingAddon |
| WalkerAddon | WalkerAddon |
| BuildingCategory | BuildingFilter |
| LayerMask | BuildingRaycastMask = -1 |
| string | BuildingRaycastTag = "Building" |
| WalkerCategory | WalkerFilter |
| LayerMask | WalkerRaycastMask = -1 |
| string | WalkerRaycastTag = "Walker" |
Public Attributes inherited from CityBuilderCore.BaseTool | |
| View | View |
| ToolEvent | Activating |
| ToolEvent | Applied |
Protected Member Functions | |
| override void | updateTool () |
Protected Member Functions inherited from CityBuilderCore.BaseTool | |
| void | onApplied () |
Protected Member Functions inherited from CityBuilderCore.TooltipOwnerBase | |
| virtual void | OnDisable () |
| void | enter () |
| void | exit () |
Properties | |
| override bool | ShowGrid [get] |
| override bool | IsTouchPanAllowed [get] |
| bool | IsHighlighting [get] |
| bool | IsHovering [get] |
Properties inherited from CityBuilderCore.BaseTool | |
| 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] |
Properties inherited from CityBuilderCore.TooltipOwnerBase | |
| virtual string | TooltipName [get] |
| main text in the tooltip | |
| virtual string | TooltipDescription [get] |
| smaller but potentially longer text below the main text | |
Properties inherited from CityBuilderCore.ITooltipOwner | |
Additional Inherited Members | |
Public Member Functions inherited from CityBuilderCore.BaseTool | |
| virtual void | ActivateTool () |
| virtual void | DeactivateTool () |
| virtual int | GetCost (Item item) |
Public Member Functions inherited from CityBuilderCore.TooltipOwnerBase | |
| void | OnPointerEnter (PointerEventData eventData) |
| void | OnPointerExit (PointerEventData eventData) |
Protected Attributes inherited from CityBuilderCore.TooltipOwnerBase | |
| bool | _isPointerInside |
|
inlineprotectedvirtual |
Reimplemented from CityBuilderCore.BaseTool.