Class SkyChangeTitleAddon
- Namespace
- Nautilus.Handlers.TitleScreen
- Assembly
- Nautilus.dll
Handles changes to the sky in the main menu.
public class SkyChangeTitleAddon : TitleAddon, IManagedUpdateBehaviour, IManagedBehaviour
- Inheritance
-
SkyChangeTitleAddon
- Implements
-
IManagedUpdateBehaviourIManagedBehaviour
- Inherited Members
- Extension Methods
Remarks
Only one instance is ever expected to exist at once. Otherwise, one instance will be arbitrarily chosen.
Constructors
SkyChangeTitleAddon(float, Settings, params string[])
Activates the specified uSkyManager settings when the mod is selected.
public SkyChangeTitleAddon(float fadeInDuration, SkyChangeTitleAddon.Settings settings, params string[] requiredGUIDs)
Parameters
fadeInDuration
float- How long it takes in seconds for these changes to apply.
settings
SkyChangeTitleAddon.Settings- Your custom settings that override the default uSkyManager values.
requiredGUIDs
string[]- The required mod GUIDs for this addon to enable. Each required mod must approve this addon by using ApproveTitleCollaboration(BaseUnityPlugin, CollaborationData).
Methods
ManagedUpdate()
Called every frame while registered.
public virtual void ManagedUpdate()
OnDisable()
De-activates the sky change.
protected override void OnDisable()
OnEnable()
Activates the sky change.
protected override void OnEnable()
OnEnterLoadScreen()
Is called when the player clicks on a save, and the loading screen is enabled.
protected override void OnEnterLoadScreen()
See Also
uSkyManager