mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-29 12:21:25 +00:00
24 lines
1.1 KiB
C#
24 lines
1.1 KiB
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace APITestMod;
|
|
|
|
public interface IMenuAPI
|
|
{
|
|
// Title screen
|
|
GameObject TitleScreen_MakeMenuOpenButton(string name, int index, Menu menuToOpen);
|
|
GameObject TitleScreen_MakeSceneLoadButton(string name, int index, SubmitActionLoadScene.LoadableScenes sceneToLoad, PopupMenu confirmPopup = null);
|
|
Button TitleScreen_MakeSimpleButton(string name, int index);
|
|
// Pause menu
|
|
GameObject PauseMenu_MakeMenuOpenButton(string name, Menu menuToOpen, Menu customMenu = null);
|
|
GameObject PauseMenu_MakeSceneLoadButton(string name, SubmitActionLoadScene.LoadableScenes sceneToLoad, PopupMenu confirmPopup = null, Menu customMenu = null);
|
|
Button PauseMenu_MakeSimpleButton(string name, Menu customMenu = null);
|
|
Menu PauseMenu_MakePauseListMenu(string title);
|
|
// Misc
|
|
PopupMenu MakeTwoChoicePopup(string message, string confirmText, string cancelText);
|
|
PopupInputMenu MakeInputFieldPopup(string message, string placeholderMessage, string confirmText, string cancelText);
|
|
PopupMenu MakeInfoPopup(string message, string continueButtonText);
|
|
// Startup Popups
|
|
void RegisterStartupPopup(string message);
|
|
}
|