C# Class RoadNamer.Panels.RoadNamePanel

Inheritance: UIPanel
Afficher le fichier Open project: PropaneDragon/RoadNamer Class Usage Examples

Méthodes publiques

Свойство Type Description
m_netSegmentId ushort

Protected Properties

Свойство Type Description
m_UIPadding UnityEngine.RectOffset

Méthodes publiques

Méthode Description
Awake ( ) : void
Start ( ) : void

Private Methods

Méthode Description
ColourSelector_eventColorChanged ( UIComponent component, Color32 value ) : void
ColourSelector_eventColorPickerClose ( UIColorField dropdown, UIColorPicker popup, bool &overridden ) : void
CreatePanelComponents ( ) : void
CreateUpdatePanel ( ) : void
M_textField_eventKeyDown ( UIComponent component, UIKeyEventParameter eventParam ) : void
NameRoadButton_eventClicked ( UIComponent component, UIMouseEventParameter eventParam ) : void
RandomNameButton_eventClicked ( UIComponent component, UIMouseEventParameter eventParam ) : void
RoadNamePanel_eventKeyPress ( UIComponent component, UIKeyEventParameter eventParam ) : void
SetRoadData ( ) : void

Gets the colour from the panel and sets it to be rendered/saved

UpdateTextField ( string text ) : void

Sets the panel text field to road data. Converts colours.

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

m_UIPadding protected_oe property

protected RectOffset,UnityEngine m_UIPadding
Résultat UnityEngine.RectOffset

m_netSegmentId public_oe property

public ushort m_netSegmentId
Résultat ushort