Class TitleScreenHandler
- Namespace
- Nautilus.Handlers.TitleScreen
- Assembly
- Nautilus.dll
Handles custom additions to the main menu (Title screen).
public static class TitleScreenHandler
- Inheritance
-
TitleScreenHandler
- Inherited Members
Methods
ApproveTitleCollaboration(BaseUnityPlugin, CollaborationData)
Approve another mod to make specific title screen additions when your mod is installed.
public static void ApproveTitleCollaboration(BaseUnityPlugin plugin, TitleScreenHandler.CollaborationData collaborationData)
Parameters
plugin
BaseUnityPlugin- The plugin for your mod.
collaborationData
TitleScreenHandler.CollaborationData- The collaboration data for the plugins you want to approve.
RegisterTitleScreenObject(string, CustomTitleData)
Register title screen additions with Nautilus for automatic handling.
public static void RegisterTitleScreenObject(string key, TitleScreenHandler.CustomTitleData customTitleData)
Parameters
key
string- The key for your custom title data. Must be unique.
customTitleData
TitleScreenHandler.CustomTitleData- The custom title data for your additions.