Skip to content

为property生成代码时,getter与setter方法上的BlackListAttribute没有进行检查 #283

@locke-li

Description

@locke-li

可能的使用场景:
在Editor中需要修改,但运行时只需要访问的property

public int SomeProperty {
    get { ... }
#if UNITY_EDITOR
    [BlackList]
    set { ... }
#endif
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions