/* * SPDX-License-Identifier: AGPL-3.0-or-later * Copyright (C) 2025 Sergej Görzen * This file is part of OmiLAXR. */ using UnityEngine; namespace OmiLAXR { /// /// Display a field as read-only in the inspector. /// CustomPropertyDrawers will not work when this attribute is used. /// /// /// public sealed class ReadOnlyAttribute : PropertyAttribute { } /// /// Display one or more fields as read-only in the inspector. /// Use to close the group. /// Works with CustomPropertyDrawers. /// /// /// public sealed class BeginReadOnlyGroupAttribute : PropertyAttribute { } /// /// Use with . /// Close the read-only group and resume editable fields. /// /// /// public sealed class EndReadOnlyGroupAttribute : PropertyAttribute { } }