Add GetDebugInfo to BT nodes for debugging
This commit is contained in:
@@ -122,6 +122,9 @@ public:
|
||||
int32 GetStateSize() const override;
|
||||
void InitState(const BehaviorUpdateContext& context) override;
|
||||
BehaviorUpdateResult Update(const BehaviorUpdateContext& context) override;
|
||||
#if USE_EDITOR
|
||||
String GetDebugInfo(const BehaviorUpdateContext& context) const override;
|
||||
#endif
|
||||
|
||||
private:
|
||||
struct State
|
||||
@@ -233,6 +236,9 @@ public:
|
||||
void InitState(const BehaviorUpdateContext& context) override;
|
||||
void ReleaseState(const BehaviorUpdateContext& context) override;
|
||||
BehaviorUpdateResult Update(const BehaviorUpdateContext& context) override;
|
||||
#if USE_EDITOR
|
||||
String GetDebugInfo(const BehaviorUpdateContext& context) const override;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
struct State
|
||||
|
||||
Reference in New Issue
Block a user