編輯

共用方式為


InteractableThemeBase.Init(GameObject, ThemeDefinition) Method

Definition

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

public:
 virtual void Init(UnityEngine::GameObject ^ host, Microsoft::MixedReality::Toolkit::UI::ThemeDefinition definition);
public virtual void Init (UnityEngine.GameObject host, Microsoft.MixedReality.Toolkit.UI.ThemeDefinition definition);
abstract member Init : UnityEngine.GameObject * Microsoft.MixedReality.Toolkit.UI.ThemeDefinition -> unit
override this.Init : UnityEngine.GameObject * Microsoft.MixedReality.Toolkit.UI.ThemeDefinition -> unit
Public Overridable 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