InteractableThemeBase.Init(GameObject, ThemeDefinition) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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