Struct GUID
Assembly: UnityEditor.dll
Syntax
[Serializable]
public struct GUID : IComparable, IComparable<GUID>, IEquatable<GUID>
Constructors
|
Improve this Doc
View Source
GUID(String)
Declaration
public GUID(string hexRepresentation)
Parameters
Type |
Name |
Description |
String |
hexRepresentation |
|
Methods
|
Improve this Doc
View Source
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
|
Improve this Doc
View Source
CompareTo(GUID)
Declaration
public int CompareTo(GUID rhs)
Parameters
Type |
Name |
Description |
GUID |
rhs |
|
Returns
|
Improve this Doc
View Source
Empty()
Declaration
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
Equals(GUID)
Declaration
public bool Equals(GUID obj)
Parameters
Type |
Name |
Description |
GUID |
obj |
|
Returns
|
Improve this Doc
View Source
Generate()
Declaration
public static GUID Generate()
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
ParseExact(String)
Declaration
[Obsolete("Use TryParse instead")]
public bool ParseExact(string hex)
Parameters
Type |
Name |
Description |
String |
hex |
|
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Improve this Doc
View Source
TryParse(String, out GUID)
Declaration
public static bool TryParse(string hex, out GUID result)
Parameters
Returns
Operators
|
Improve this Doc
View Source
Equality(GUID, GUID)
Declaration
public static bool operator ==(GUID x, GUID y)
Parameters
Returns
|
Improve this Doc
View Source
GreaterThan(GUID, GUID)
Declaration
public static bool operator>(GUID x, GUID y)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(GUID, GUID)
Declaration
public static bool operator !=(GUID x, GUID y)
Parameters
Returns
|
Improve this Doc
View Source
LessThan(GUID, GUID)
Declaration
public static bool operator <(GUID x, GUID y)
Parameters
Returns
Implements
Extension Methods