Editar

Partilhar via


InteractableGrabScaleTheme.Init(GameObject, ThemeDefinition) Method

Definition

Initialize current Theme Engine with given configuration and target the provided GameObject

public:
 override void Init(UnityEngine::GameObject ^ host, Microsoft::MixedReality::Toolkit::UI::ThemeDefinition settings);
public override void Init (UnityEngine.GameObject host, Microsoft.MixedReality.Toolkit.UI.ThemeDefinition settings);
override this.Init : UnityEngine.GameObject * Microsoft.MixedReality.Toolkit.UI.ThemeDefinition -> unit
Public Overrides Sub Init (host As GameObject, settings As ThemeDefinition)

Parameters

host
UnityEngine.GameObject

GameObject to target changes against

settings
ThemeDefinition

Applies to