TightBeam API
Use this API
Section titled “Use this API”Copy TightBeam.cs into your project. That one file is the whole API.
<Compile Include="path\to\TightBeam.cs" />Mark it optional, so your mod still loads without it:
[assembly: MelonOptionalDependencies("TightBeam")]Without TightBeam every call does nothing and returns a default. Calls made before TightBeam loads run once it does.
First steps: Control the flashlight.
Source: TightBeam.Api/TightBeam.cs at v2.1.4.