mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
17 lines
496 B
C#
17 lines
496 B
C#
using NewHorizons.OtherMods.MenuFramework;
|
|
|
|
namespace NewHorizons.OtherMods.CommonCameraUtility
|
|
{
|
|
public static class CommonCameraHandler
|
|
{
|
|
private static ICommonCameraAPI _cameraAPI;
|
|
|
|
static CommonCameraHandler()
|
|
{
|
|
_cameraAPI = Main.Instance.ModHelper.Interaction.TryGetModApi<ICommonCameraAPI>("xen.CommonCameraUtility");
|
|
}
|
|
|
|
public static void RegisterCustomCamera(OWCamera camera) => _cameraAPI.RegisterCustomCamera(camera);
|
|
}
|
|
}
|