TextInput Constructor (Boolean, Vector2, Anchor, Nullable<Vector2>, PanelSkin) |
Create the text input.
Namespace:
GeonBit.UI.Entities
Assembly:
GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic TextInput(
bool multiline,
Vector2 size,
Anchor anchor = Anchor.Auto,
Nullable<Vector2> offset = null,
PanelSkin skin = PanelSkin.ListBackground
)
Parameters
- multiline
- Type: System.Boolean
If true, text input will accept multiple lines. - size
- Type: Vector2
Input box size. - anchor (Optional)
- Type: GeonBit.UI.Entities.Anchor
Position anchor. - offset (Optional)
- Type: System.Nullable<Vector2>
Offset from anchor position. - skin (Optional)
- Type: GeonBit.UI.Entities.PanelSkin
TextInput skin, eg which texture to use.
See Also