Open Level

Unreal
void APlayerChar::SwitchLevel() { class UGameplayStatics::OpenLevel(this, TEXT("NewLevel")); }//#include "Kismet/GameplayStatics.h"
 Unity
void SwitchLevel() => SceneManager.LoadScene(1);//using UnityEngine.SceneManagement; 

Comments

Popular posts from this blog

Animation

Play Sound