編集

次の方法で共有


Interactable.Dimensions Field

Definition

A way of adding more layers of states for controls like toggles. This is capitalized and doesn't match conventions for backwards compatibility (to not break people using Interactable). We tried using FormerlySerializedAs("Dimensions) and renaming to "dimensions", however Unity did not properly pick up the former serialization, so we maintained the old value. See https://github.com/microsoft/MixedRealityToolkit-Unity/issues/6169

protected: int Dimensions;
[UnityEngine.SerializeField]
protected int Dimensions;
[<UnityEngine.SerializeField>]
val mutable Dimensions : int
Protected Dimensions As Integer 

Field Value

Attributes
UnityEngine.SerializeFieldAttribute

Applies to