A wrapper around Spawnable asset that can be used by Script Canvas and Lua. More...
#include <SpawnableScriptAssetRef.h>
Inherits AZ::Data::AssetBus::Handler.
Public Member Functions | |
| AZ_RTTI (AzFramework::Scripts::SpawnableScriptAssetRef, "{A96A5037-AD0D-43B6-9948-ED63438C4A52}") | |
| SpawnableScriptAssetRef (const SpawnableScriptAssetRef &rhs) | |
| SpawnableScriptAssetRef (SpawnableScriptAssetRef &&rhs) | |
| SpawnableScriptAssetRef & | operator= (const SpawnableScriptAssetRef &rhs) |
| SpawnableScriptAssetRef & | operator= (SpawnableScriptAssetRef &&rhs) |
| void | SetAsset (const AZ::Data::Asset< Spawnable > &asset) |
| AZ::Data::Asset< Spawnable > | GetAsset () const |
| void | SetAssetId (const AZ::Data::AssetId &assetId) |
| AZ::Data::AssetId | GetAssetId () const |
| bool | IsValid () const |
Static Public Member Functions | |
| static void | Reflect (AZ::ReflectContext *context) |
A wrapper around Spawnable asset that can be used by Script Canvas and Lua.
| void AzFramework::Scripts::SpawnableScriptAssetRef::SetAssetId | ( | const AZ::Data::AssetId & | assetId | ) |
Sets the Asset by AssetId, which is convenient for automation or in-game scripting.