AController::ChangeState

Change the current state to named state

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

AController::ChangeState()

APlayerController::ChangeState()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Controller.h

Include

#include "GameFramework/Controller.h"

Source

/Engine/Source/Runtime/Engine/Private/Controller.cpp

Syntax

virtual void ChangeState
(
    FName NewState
)

Remarks

Change the current state to named state