How to register UEdMode?

So for anyone stumbling on this I found the solution by looking into the “Sample Tools Editor Mode” plugin in the engine by default at least in ue5.3.

You will want to set up your commands and took kit files and then use your commands to register the mode.

void FGridBasedEditor::StartupModule()
{
	UE_LOG(LogGridBasedEditor, Log, TEXT("Grid Based Editor Logging has Started"));
	FGridEdModeCommands::Register();
}
2 Likes