ModGameAssetReference Class |
Namespace: UMod
[SerializableAttribute] public class ModGameAssetReference
The ModGameAssetReference type exposes the following members.
Name | Description | |
---|---|---|
ModGameAssetReference | Initializes a new instance of the ModGameAssetReference class |
Name | Description | |
---|---|---|
GameAssetReference |
Get the serialized guid reference to the assigned game asset.
This reference can be set via the inspector using the game assets selection window.
| |
IsReferenceAssigned |
Returns a value indicating whether this reference points to a valid game asset.
This value will be false when the game asset reference has not been assigned (None).
Note that this value will be true for references to game asset that no longer exist (Missing).
|
Name | Description | |
---|---|---|
GetLoadedAsset |
Return the pre-loaded asset instance.
| |
GetLoadedAssetT |
Return the pre-loaded asset instance.
| |
Instantiate(Vector3, Quaternion) |
Attempts to instatiate the referenced game asset at the specified location.
Note that a valid game asset must be selected from the editor.
| |
InstantiateT(Vector3, Quaternion) |
Attempts to instatiate the referenced game asset at the specified location.
Note that a valid game asset must be selected from the editor.
|