Class StandaloneInputModule
An
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public sealed class StandaloneInputModule : Behaviour<UnityEngine.EventSystems.StandaloneInputModule>
Examples
<m:RectTransform
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:m="clr-namespace:Mux.Markup;assembly=Mux.Markup"
xmlns:mu="clr-namespace:Mux.Markup;assembly=Mux.Markup.UI"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:playgroundMarkup="clr-namespace:Mux.Playground.Markup;assembly=Assembly-CSharp">
<mu:StandaloneInputModule />
<mu:Canvas />
<mu:CanvasScaler UiScale="{mu:ConstantPhysicalSize}" />
<mu:GraphicRaycaster />
<playgroundMarkup:TextTransform X="{m:Stretch}" Y="{m:Stretch}">
<playgroundMarkup:TextTransform.Text>
You need StandaloneInputModule to get an interactive component such as a toggle work.
Try to click the toggle with/without StandaloneInputModule!
</playgroundMarkup:TextTransform.Text>
</playgroundMarkup:TextTransform>
<playgroundMarkup:ToggleTransform />
</m:RectTransform>
Fields
| Improve this Doc View SourceCancelButtonProperty
Backing store for the CancelButton property.
Declaration
public BindableProperty CancelButtonProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ForceModuleActiveProperty
Backing store for the ForceModuleActive property.
Declaration
public BindableProperty ForceModuleActiveProperty
Field Value
Type | Description |
---|---|
BindableProperty |
HorizontalAxisProperty
Backing store for the HorizontalAxis property.
Declaration
public BindableProperty HorizontalAxisProperty
Field Value
Type | Description |
---|---|
BindableProperty |
InputActionsPerSecondProperty
Backing store for the InputActionsPerSecond property.
Declaration
public BindableProperty InputActionsPerSecondProperty
Field Value
Type | Description |
---|---|
BindableProperty |
RepeatDelayProperty
Backing store for the RepeatDelay property.
Declaration
public BindableProperty RepeatDelayProperty
Field Value
Type | Description |
---|---|
BindableProperty |
SubmitButtonProperty
Backing store for the SubmitButton property.
Declaration
public BindableProperty SubmitButtonProperty
Field Value
Type | Description |
---|---|
BindableProperty |
VerticalAxisProperty
Backing store for the VerticalAxis property.
Declaration
public BindableProperty VerticalAxisProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourceCancelButton
A property that represents UnityEngine.EventSystems.StandaloneInputModule.cancelButton.
Declaration
public string CancelButton { get; set; }
Property Value
Type | Description |
---|---|
String |
ForceModuleActive
A property that represents UnityEngine.EventSystems.StandaloneInputModule.forceModuleActive.
Declaration
public bool ForceModuleActive { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
HorizontalAxis
A property that represents UnityEngine.EventSystems.StandaloneInputModule.horizontalAxis.
Declaration
public string HorizontalAxis { get; set; }
Property Value
Type | Description |
---|---|
String |
InputActionsPerSecond
A property that represents UnityEngine.EventSystems.StandaloneInputModule.inputActionsPerSecond.
Declaration
public float InputActionsPerSecond { get; set; }
Property Value
Type | Description |
---|---|
Single |
RepeatDelay
A property that represents UnityEngine.EventSystems.StandaloneInputModule.repeatDelay.
Declaration
public float RepeatDelay { get; set; }
Property Value
Type | Description |
---|---|
Single |
SubmitButton
A property that represents UnityEngine.EventSystems.StandaloneInputModule.submitButton.
Declaration
public string SubmitButton { get; set; }
Property Value
Type | Description |
---|---|
String |
VerticalAxis
A property that represents UnityEngine.EventSystems.StandaloneInputModule.verticalAxis.
Declaration
public string VerticalAxis { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceAwakeInMainThread()
Declaration
protected override void AwakeInMainThread()