Essential Systems / Interface
Interface
Enjoying Essential Systems?Leave a reviewLearn to use the included interface manager.
Setup
Add the correct interface scene to Build Settings:
- New Input System → add
Interface New - Old Input System → add
Interface Standard
Loading the interface
Per scene - add a script to each scene that needs the interface:
public class AddInterface : MonoBehaviour
{
private void Start()
{
SceneManager.LoadScene("Interface", LoadSceneMode.Additive);
}
}
Global - load the interface whenever any scene starts:
public static class AddInterface
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
private static void Init()
{
SceneManager.LoadScene("Interface", LoadSceneMode.Additive);
}
}
Add whatever UI you need inside the interface scene. The demo includes a pause menu as an example.
Last updated

