TextInput Constructor (Boolean, Vector2, Anchor, NullableVector2, 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)
Syntax public TextInput(
bool multiline,
Vector2 size,
Anchor anchor = Anchor.Auto,
Nullable<Vector2> offset = null,
PanelSkin skin = PanelSkin.ListBackground
)
Parameters
- multiline
- Type: SystemBoolean
If true, text input will accept multiple lines. - size
- Type: Vector2
Input box size. - anchor (Optional)
- Type: GeonBit.UI.EntitiesAnchor
Position anchor. - offset (Optional)
- Type: SystemNullableVector2
Offset from anchor position. - skin (Optional)
- Type: GeonBit.UI.EntitiesPanelSkin
TextInput skin, eg which texture to use.
See Also