
Image showing the TargetingHandler component, as seen in the Entity Inspector.
Targeting Handler Overview
Functionality
Setting Up Your Targeting Handler
API
// GameManagerGlobalEventBus
void OnSetupManagers() override;
void OnShutdownManagers() override;
void OnStartupComplete() override;
void OnEnterStandby() override;
void OnExitStandby() override;
// UnitManagerIncomingEventBus
void RequestSpawnNewUnit(AZ::EntityId callingEntityId, AzFramework::Scripts::SpawnableScriptAssetRef unitPrefab, AZ::EntityId spawnParentEntityId) override;
bool CheckIsUnit(AZ::EntityId unitId) override;