UAISense::HardcodeSenseID

Use with caution! Needs to be called before any senses get instantiated or listeners registered.

Choose your operating system:

Windows

macOS

Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/Perception/AISense.h

Include

#include "Perception/AISense.h"

Source

/Engine/Source/Runtime/AIModule/Private/Perception/AISense.cpp

Syntax

static void HardcodeSenseID
(
    TSubclassOf< UAISense > SenseClass,
    FAISenseID HardcodedID
)

Remarks

Use with caution! Needs to be called before any senses get instantiated or listeners registered. DOES NOT update any perceptions system instances