Update
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using UnityEngine;
|
||||
namespace Invector
|
||||
{
|
||||
[System.AttributeUsage(System.AttributeTargets.Field, AllowMultiple = true, Inherited = true)]
|
||||
public class vReadOnlyAttribute : PropertyAttribute
|
||||
{
|
||||
public readonly bool justInPlayMode;
|
||||
|
||||
public vReadOnlyAttribute(bool justInPlayMode = true)
|
||||
{
|
||||
this.justInPlayMode = justInPlayMode;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user