16 lines
416 B
C#
16 lines
416 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
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;
|
|
}
|
|
}
|
|
}
|