Delegate OnHighlightMethod | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    Show / Hide Table of Contents

    Delegate OnHighlightMethod

    Method which will be called when highlighting each object

    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public delegate bool OnHighlightMethod(GameObject go, Material material);
    Parameters
    Type Name Description
    GameObject go

    The object which will be highlighted

    Material material

    The material which would be used to highlight it

    Returns
    Type Description
    Boolean

    Whether to block the normal highlight method

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX