C++ Project
This guide assumes you are implementing the Elixir SDK in a C++ project and have already cloned the Elixir SDK plugin into your "Plugins" folder.
Last updated
UElixirSubsystem::FCallback CompleteCallback;
CompleteCallback.BindDynamic(this, &UMyClass::OnElixirInitComplete);
UElixirSubsystem::GetInstance()->InitElixir(CompleteCallback);void UMyClass::OnElixirInitComplete(const bool bSuccess)
{
// this code will run after the SDK has either been successfully initialized
// or an error has been encountered
}