https://github.com/xjine/unity_disableininspectorattribute
Add [DisableInInspector] attribute to make uneditable field.
https://github.com/xjine/unity_disableininspectorattribute
assets unity
Last synced: about 2 months ago
JSON representation
Add [DisableInInspector] attribute to make uneditable field.
- Host: GitHub
- URL: https://github.com/xjine/unity_disableininspectorattribute
- Owner: XJINE
- License: bsd-3-clause
- Created: 2018-11-06T07:14:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-06T07:31:58.000Z (over 7 years ago)
- Last Synced: 2025-04-03T09:12:55.190Z (about 1 year ago)
- Topics: assets, unity
- Language: C#
- Size: 103 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity_DisableInInspectorAttribute

Add ``[DisableInInspector]`` attribute to make uneditable field.
## Import to Your Project
You can import this asset from UnityPackage.
- [DisableInInspectorAttribute.unitypackage](https://github.com/XJINE/Unity_DisableInInspectorAttribute/blob/master/DisableInInspectorAttribute.unitypackage)
## How to Use
Set ``[DisableInInspector]`` attribute on your field.
## Limitation
``[DisableInInspector]`` is ignored when any other GUI attribute is set after it.
``[DisableInInspector]`` can not limits array or list size changing.