Exemplo n.º 1
0
 public EditorSerializeAttribute(EditorFieldOption options, string oldName = null, bool executeInEditMode = false) : base(
         FieldOption.Nothing)
 {
     Options           = options;
     OldName           = oldName;
     ExecuteInEditMode = executeInEditMode;
 }
Exemplo n.º 2
0
 public static bool ContainsExact(this EditorFieldOption option, EditorFieldOption flag) => (option & flag) == flag;
Exemplo n.º 3
0
 public static bool Contains(this EditorFieldOption option, EditorFieldOption flag) => (option & flag) != 0;
Exemplo n.º 4
0
 public EditorSerializeAttribute(EditorFieldOption options, bool executeInEditMode) : base(FieldOption.Nothing)
 {
     Options           = options;
     ExecuteInEditMode = executeInEditMode;
 }
Exemplo n.º 5
0
 public EditorSerializeAttribute(EditorFieldOption options, string previousName, bool executeInPlayMode = false)
 {
     Options           = options;
     PreviousName      = previousName;
     ExecuteInPlayMode = executeInPlayMode;
 }
Exemplo n.º 6
0
 public EditorSerializeAttribute(EditorFieldOption options, bool executeInPlayMode = false)
 {
     Options           = options;
     ExecuteInPlayMode = executeInPlayMode;
 }