unity-atoms/Packages/Core/Runtime/Attributes/ReadOnly.cs
Adam Ramberg 5d9f8dca71 WIP
2020-03-01 21:32:52 +01:00

9 lines
321 B
C#

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 { }
}