C# Class CSL_Traffic.UI.RoadCustomizerPanel

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: Katalyst6/CSL.TransitAddonMod

Méthodes publiques

Свойство Type Description
m_atlas UITextureAtlas

Méthodes publiques

Méthode Description
DisableIcons ( ) : void
EnableIcons ( ) : void
PopulateAssets ( ) : void
RefreshPanel ( ) : void
SetPanel ( Panel panel ) : void
Update ( ) : void

Méthodes protégées

Méthode Description
CreateButton ( string name, string tooltip, string baseIconName, int index, UITextureAtlas atlas, UIComponent tooltipBox, bool enabled, bool grouped ) : UIButton
OnButtonClicked ( UIButton btn ) : void
OnClick ( UIComponent comp, UIMouseEventParameter p ) : void
SetSpeedButtonsThumbnails ( UIButton btn ) : void
SetVehicleButtonsThumbnails ( UIButton btn ) : void
SpawnEntry ( string name, string tooltip, string thumbnail, UITextureAtlas atlas, bool enabled, bool grouped ) : UIButton

Private Methods

Méthode Description
Awake ( ) : void
EmergencyLights ( UIButton btn ) : IEnumerator
OnDisable ( ) : void
OnEnable ( ) : void

Method Details

CreateButton() protected méthode

protected CreateButton ( string name, string tooltip, string baseIconName, int index, UITextureAtlas atlas, UIComponent tooltipBox, bool enabled, bool grouped ) : UIButton
name string
tooltip string
baseIconName string
index int
atlas UITextureAtlas
tooltipBox UIComponent
enabled bool
grouped bool
Résultat UIButton

DisableIcons() public méthode

public DisableIcons ( ) : void
Résultat void

EnableIcons() public méthode

public EnableIcons ( ) : void
Résultat void

OnButtonClicked() protected méthode

protected OnButtonClicked ( UIButton btn ) : void
btn UIButton
Résultat void

OnClick() protected méthode

protected OnClick ( UIComponent comp, UIMouseEventParameter p ) : void
comp UIComponent
p UIMouseEventParameter
Résultat void

PopulateAssets() public méthode

public PopulateAssets ( ) : void
Résultat void

RefreshPanel() public méthode

public RefreshPanel ( ) : void
Résultat void

SetPanel() public méthode

public SetPanel ( Panel panel ) : void
panel Panel
Résultat void

SetSpeedButtonsThumbnails() protected méthode

protected SetSpeedButtonsThumbnails ( UIButton btn ) : void
btn UIButton
Résultat void

SetVehicleButtonsThumbnails() protected méthode

protected SetVehicleButtonsThumbnails ( UIButton btn ) : void
btn UIButton
Résultat void

SpawnEntry() protected méthode

protected SpawnEntry ( string name, string tooltip, string thumbnail, UITextureAtlas atlas, bool enabled, bool grouped ) : UIButton
name string
tooltip string
thumbnail string
atlas UITextureAtlas
enabled bool
grouped bool
Résultat UIButton

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

m_atlas public_oe property

public UITextureAtlas m_atlas
Résultat UITextureAtlas