docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Field Layer

    The LayerMask index.

    Namespace: Unity.Entities.Graphics
    Assembly: solution.dll
    Syntax
    [LayerFieldAttribute]
    public int Layer
    Returns
    Type Description
    int
    Remarks

    For entities that Unity converts from GameObjects, this value is the same as the Layer setting of the source GameObject.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)