Public API Reference

Clean, Strongly Typed C# Interfaces and Event Hooks


PERCH exposes a concise, fully documented public API under the Decnet.Perch namespace. All public classes, structs, and methods include complete XML doc comments and avoid unnecessary boilerplate.


API Modules

Explore the core public interfaces:

1. PerchAgent API

The primary controller attached to creature GameObjects. Details on commands (RequestLanding, RequestSlot, Depart, CancelLanding, PauseAgent) and UnityEvents (OnStateChanged, OnLanded, OnDeparted, OnLandingFailed).

2. Flight Provider API

The contract for bridging external flight AI systems to PERCH. Implementation details for IPerchFlightProvider, motion state capture, and handover methods.

3. Creature Profiles & Presets

The PerchCreatureProfile ScriptableObject schema, kinematic parameters, physical tolerances, and the LockForRuntime() immutability guarantee.


Table of contents


Copyright © 2026 Decnet Games. All rights reserved. PERCH is a commercial Unity Asset.

This site uses Just the Docs, a documentation theme for Jekyll.