Represents a generic asset with a unique identifier (UID).
More...
|
| override bool | Equals (object obj) |
| | Determines whether the specified object is equal to the current asset.
|
| |
| bool | Equals (Asset< T > other) |
| | Determines whether the specified Asset<T> is equal to the current asset.
|
| |
| override int | GetHashCode () |
| | Serves as the default hash function for the asset.
|
| |
|
| static bool | operator== (Asset< T > lhs, Asset< T > rhs) |
| | Determines whether two Asset<T> instances are equal.
|
| |
| static bool | operator!= (Asset< T > lhs, Asset< T > rhs) |
| | Determines whether two Asset<T> instances are not equal.
|
| |
|
| Guid | uid [get, set] |
| | Gets the unique identifier (UID) of the asset.
|
| |
Represents a generic asset with a unique identifier (UID).
- Template Parameters
-
Definition at line 10 of file Asset.cs.
◆ Equals() [1/2]
Determines whether the specified Asset<T> is equal to the current asset.
- Parameters
-
| other | The asset to compare with the current asset. |
- Returns
true if the specified asset is equal to the current asset; otherwise, false.
Definition at line 40 of file Asset.cs.
◆ Equals() [2/2]
Determines whether the specified object is equal to the current asset.
- Parameters
-
| obj | The object to compare with the current asset. |
- Returns
true if the specified object is an Asset<T> and is equal to the current asset; otherwise, false.
Definition at line 24 of file Asset.cs.
◆ GetHashCode()
Serves as the default hash function for the asset.
- Returns
- A hash code for the current asset.
◆ operator!=()
Determines whether two Asset<T> instances are not equal.
- Parameters
-
| lhs | The first asset to compare. |
| rhs | The second asset to compare. |
- Returns
true if the two assets are not equal; otherwise, false.
◆ operator==()
Determines whether two Asset<T> instances are equal.
- Parameters
-
| lhs | The first asset to compare. |
| rhs | The second asset to compare. |
- Returns
true if the two assets are equal; otherwise, false.
Definition at line 61 of file Asset.cs.
◆ uid
Gets the unique identifier (UID) of the asset.
Definition at line 15 of file Asset.cs.
The documentation for this class was generated from the following file:
- C:/Workspace/github/UnravelEngine/UnravelEngine/engine_data/data/scripts/assets/Asset.cs