#include <EditorSpawnerComponent.h>
Inherits AzToolsFramework::Components::EditorComponentBase.
Public Member Functions | |
AZ_EDITOR_COMPONENT (EditorSpawnerComponent, "{77CDE991-EC1A-B7C1-B112-7456ABAC81A1}", EditorComponentBase) | |
bool | ReadInConfig (const AZ::ComponentConfig *baseConfig) override |
bool | WriteOutConfig (AZ::ComponentConfig *outBaseConfig) const override |
void | BuildGameEntity (AZ::Entity *gameEntity) override |
Protected Member Functions | |
AZ::u32 | SliceAssetChanged () |
AZ::u32 | SpawnOnActivateChanged () |
bool | HasInfiniteLoop () |
Protected Attributes | |
AZ::Data::Asset< AZ::DynamicSliceAsset > | m_sliceAsset { AZ::Data::AssetLoadBehavior::PreLoad } |
bool | m_spawnOnActivate = false |
bool | m_destroyOnDeactivate = false |
Editor spawner component Spawns the entities from a ".dynamicslice" asset at runtime.