Namespace UILib.Patches
Classes
- Lock
A class used for controlling certain aspects of the game. Such as pausing, freeing the cursor, and preventing certain navigation interactions.
- LockHandler
Processes the currently active Locks to determine what should be locked/unlocked.
- SceneLoads
A class which helps with knowing when a scene has loaded/unloaded.
In Peaks of Yore the ways the built-in scenes load is different to custom levels made in the editor.
Not all objects are loaded in the custom levels on the typical Unity scene load, as they're added in dynamically afterwards.
There's also a difference between full playtest/playing normally and being in the editor switching between the orbit camera and quick playtest. Switching to and from the orbit camera keeps loading/unloading some objects.
This class invokes listeners when the scenes are loaded and unloaded, simplifying the process.
Enums
- LockMode
The types of lock modes which are supported.
- SceneType
The types of scene loads/unloads which you can add listeners to SceneLoads for.