Skip to content

[ReadOnly] does not work on ScriptableObjects in NaughtyAttributes 2.x, used to in 1.x. #113

@KesKim

Description

@KesKim

I have a couple of ScriptableObjects where the [ReadOnly] attribute was handy for some ScriptableObjects, blocking user intereference with some fields I only wanted to view for debug in the Inspector when selecting these ScriptableObject Assets.

After upgrading to 2.0.1, the [ReadOnly] no longer does anything to disable the fields as it used to.

Both versions 1.0.3 and 2.0.1 of NaughtyAttributes tested in Unity 2019.3.0f5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions