An open API service indexing awesome lists of open source software.

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.

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.