JUtils
A unity utilities library
JUtils.UneditableAttribute Class Reference

Disable writing for this property in the editor More...

Inheritance diagram for JUtils.UneditableAttribute:
Collaboration diagram for JUtils.UneditableAttribute:

Detailed Description

Disable writing for this property in the editor

namespace Example
{
public class ReadOnlyExample : MonoBehaviour
{
[SerializeField, Uneditable] private float _timer;
@verbatim
private void Update()
{
_timer += Time.deltaTime * Random.value
}
}
@endverbatim }
System.Random Random
Definition: MinMax.cs:3

The documentation for this class was generated from the following file: