日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class PrefabSpawner

    Add to any Object to spawn a prefab to it, according to preference

    Inheritance
    Object
    PrefabSpawner
    ToolTipSpawner
    Implements
    IMixedRealityInputHandler
    IMixedRealityInputHandler<Single>
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class PrefabSpawner : BaseFocusHandler, IMixedRealityInputHandler, IMixedRealityInputHandler<float>

    Fields

    prefab

    Declaration
    protected GameObject prefab
    Field Value
    Type Description
    GameObject

    Methods

    HandleTap()

    Declaration
    protected virtual void HandleTap()

    OnFocusEnter(FocusEventData)

    Declaration
    public override void OnFocusEnter(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    OnFocusExit(FocusEventData)

    Declaration
    public override void OnFocusExit(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    SpawnableActivated(GameObject)

    Declaration
    protected virtual void SpawnableActivated(GameObject spawnable)
    Parameters
    Type Name Description
    GameObject spawnable

    Implements

    IMixedRealityInputHandler
    IMixedRealityInputHandler<>
    Back to top Generated by DocFX