ShowOnly Attribute


Make fields in the Unity Inspector visible but not editable — perfect for debugging and monitoring values without accidentally changing them.


by T0M1


Price History +

The ShowOnly Attribute is a simple and lightweight Unity tool designed to make specific fields visible in the Inspector while preventing accidental edits. By adding this attribute to any field, developers can ensure that the value is displayed for easy monitoring but remains protected from modification. It’s a great way to improve debugging clarity while keeping values safe.