Editar

Partilhar via


InteractableShaderTheme.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 definition);
public override void Init (UnityEngine.GameObject host, Microsoft.MixedReality.Toolkit.UI.ThemeDefinition definition);
override this.Init : UnityEngine.GameObject * Microsoft.MixedReality.Toolkit.UI.ThemeDefinition -> unit
Public Overrides Sub Init (host As GameObject, definition As ThemeDefinition)

Parameters

host
UnityEngine.GameObject

GameObject to target changes against

definition
ThemeDefinition

Configuration information to initialize Theme Engine

Applies to