Loading...
Searching...
No Matches
CityBuilderCore.ViewActivator Class Reference

Detailed Description

helper for activating a view from a UnityEngine.UI.Toggle

https://citybuilder.softleitner.com/manual/views

Inheritance diagram for CityBuilderCore.ViewActivator:
CityBuilderCore.TooltipOwnerBase CityBuilderCore.ITooltipOwner

Public Member Functions

void SetViewActive (bool active)
 
- Public Member Functions inherited from CityBuilderCore.TooltipOwnerBase
void OnPointerEnter (PointerEventData eventData)
 
void OnPointerExit (PointerEventData eventData)
 

Public Attributes

View View
 

Properties

override string TooltipName [get]
 main text in the tooltip
 
- 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

- Protected Member Functions inherited from CityBuilderCore.TooltipOwnerBase
virtual void OnDisable ()
 
void enter ()
 
void exit ()
 
- Protected Attributes inherited from CityBuilderCore.TooltipOwnerBase
bool _isPointerInside
 

Property Documentation

◆ TooltipName

override string CityBuilderCore.ViewActivator.TooltipName
get

main text in the tooltip

Implements CityBuilderCore.ITooltipOwner.