docs.unity3d.com
    显示 / 隐藏目录

    Class SkyUniqueID

    This attribute is used to associate a unique ID to a sky class. This is needed to be able to automatically register sky classes and avoid collisions and refactoring class names causing data compatibility issues.

    Inheritance
    Object
    Attribute
    SkyUniqueID
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public sealed class SkyUniqueID : Attribute, _Attribute

    Constructors

    SkyUniqueID(Int32)

    Attribute SkyUniqueID constructor.

    Declaration
    public SkyUniqueID(int uniqueID)
    Parameters
    Type Name Description
    Int32 uniqueID

    Sky unique ID. Needs to be different from all other registered unique IDs.

    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)