Struct EditorPrefBoolFlags<T>
Syntax
public struct EditorPrefBoolFlags<T> : IEquatable<T>, IEquatable<EditorPrefBoolFlags<T>> where T : struct, IConvertible
Type Parameters
Constructors
EditorPrefBoolFlags(String)
Declaration
public EditorPrefBoolFlags(string key)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
Properties
rawValue
Declaration
public uint rawValue { get; set; }
Property Value
| Type |
Description |
| System.UInt32 |
|
value
Declaration
public T value { get; set; }
Property Value
Methods
Equals(T)
Declaration
public bool Equals(T other)
Parameters
| Type |
Name |
Description |
| T |
other |
|
Returns
| Type |
Description |
| System.Boolean |
|
Equals(EditorPrefBoolFlags<T>)
Declaration
public bool Equals(EditorPrefBoolFlags<T> other)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
HasFlag(T)
Declaration
Parameters
| Type |
Name |
Description |
| T |
v |
|
Returns
| Type |
Description |
| System.Boolean |
|
SetFlag(T, Boolean)
Declaration
public bool SetFlag(T f, bool v)
Parameters
| Type |
Name |
Description |
| T |
f |
|
| System.Boolean |
v |
|
Returns
| Type |
Description |
| System.Boolean |
|
Operators
BitwiseAnd(EditorPrefBoolFlags<T>, T)
Declaration
public static EditorPrefBoolFlags<T> operator &(EditorPrefBoolFlags<T> l, T r)
Parameters
Returns
BitwiseOr(EditorPrefBoolFlags<T>, T)
Declaration
public static EditorPrefBoolFlags<T> operator |(EditorPrefBoolFlags<T> l, T r)
Parameters
Returns
ExclusiveOr(EditorPrefBoolFlags<T>, T)
Declaration
public static EditorPrefBoolFlags<T> operator ^(EditorPrefBoolFlags<T> l, T r)
Parameters
Returns
Explicit(EditorPrefBoolFlags<T> to T)
Declaration
public static explicit operator T(EditorPrefBoolFlags<T> v)
Parameters
Returns