Class CanvasScaler
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public class CanvasScaler : Behaviour<UnityEngine.UI.CanvasScaler>
Fields
| Improve this Doc View SourceReferencePixelsPerUnitProperty
Backing store for the ReferencePixelsPerUnit property.
Declaration
public static readonly BindableProperty ReferencePixelsPerUnitProperty
Field Value
Type | Description |
---|---|
BindableProperty |
UiScaleProperty
Backing store for the UiScale property.
Declaration
public static readonly BindableProperty UiScaleProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourceReferencePixelsPerUnit
A property that represents UnityEngine.UI.CanvasScaler.referencePixelsPerUnit.
Declaration
public float ReferencePixelsPerUnit { get; set; }
Property Value
Type | Description |
---|---|
Single |
UiScale
A property that represents scaling mode and its properties.
Declaration
public Modifier UiScale { get; set; }
Property Value
Type | Description |
---|---|
Modifier |
Remarks
Setting
Methods
| Improve this Doc View SourceAwakeInMainThread()
Declaration
protected override void AwakeInMainThread()
DestroyMuxInMainThread()
Declaration
protected override void DestroyMuxInMainThread()
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()