Read only attribute - build fix

This commit is contained in:
Hubert Mattusch 2024-03-02 11:47:21 +01:00
parent bcb239587b
commit a9d35a5447
5 changed files with 16 additions and 5 deletions

View File

@ -1,12 +1,8 @@
using UnityEditor;
using UnityEngine;
namespace NegUtils.Editor
namespace NEG.Utils.Editor
{
public class ReadOnlyAttribute : PropertyAttribute
{
}
[CustomPropertyDrawer(typeof(ReadOnlyAttribute))]
public class ReadOnlyPropertyDrawer : PropertyDrawer
{

3
NEG/Utils.meta Normal file
View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: d0004992787c4a7ea519cf20f089657c
timeCreated: 1709376205

View File

@ -0,0 +1,9 @@
using UnityEngine;
namespace NEG.Utils
{
public class ReadOnlyAttribute : PropertyAttribute
{
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 8d9e0fab2ff2444cab62737cf994d519
timeCreated: 1709376222