|
- using System;
- using UnityEngine;
-
- namespace SUISSEngine
- {
- public class SelfReference : PropertyAttribute
- {
- protected SelfReference(bool optional, bool child, bool parent)
- {
- this.optional = optional;
- this.child = child;
- this.parent = parent;
- }
-
- public SelfReference(bool optional) : this(optional, false, false)
- {
- }
-
- public SelfReference() : this(false)
- {
- }
-
- public readonly bool optional;
-
- public readonly bool child;
-
- public readonly bool parent;
- }
- }
|