unity-atoms/Packages/Core/Runtime/Attributes/ReadOnly.cs

9 lines
321 B
C#
Raw Normal View History

2020-03-01 15:32:52 -05:00
using UnityEngine;
namespace UnityAtoms
{
/// <summary>
/// Use to make a field read only in the Unity inspector. Solution taken from here: https://answers.unity.com/questions/489942/how-to-make-a-readonly-property-in-inspector.html
/// </summary>
public class ReadOnlyAttribute : PropertyAttribute { }
}