Extending the editor
Before you begin




Airship Editor C# API
Last updated
Since Airship uses Unity, most of the custom editor features will work as-is. Some examples of features you might may want to add to your project:
Airship also has our own analogous versions of Unity features such as
If you are planning to write C# scripts for the editor, it's recommended you turn off the TypeScript compiler while you write C# editor code.



This will change the TypeScript menu to add options to start/stop the compiler. This can be utilized to stop the compiler recompiling each time you make a C# change.

Airship has the following user editor APIs you can use:
AirshipSerializedProperty and AirshipSerializedObject for handling Airship Behaviour property serialization
AirshipCustomEditors for querying the registered custom inspectors for AirshipBehaviours
See AirshipBehaviour inspectors for how to add custom editors
AirshipType which is the Airship version of Type for TypeScript-based types.
Types can be queried using AirshipType.GetType(name)
AirshipEditorGUI - for drawing editor properties for AirshipSerializedProperty instances using IMGUI.
AirshipGUI for general Airship GUI state
TypescriptService for general TypeScript APIs
TypescriptProjectsService.Project for querying the project settings
TypescriptCompilationService for querying the compiler state
Last updated