Extending the editor
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
Before you begin
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 Editor C# API
Airship has the following user editor APIs you can use:
AirshipSerializedPropertyandAirshipSerializedObjectfor handling Airship Behaviour property serializationAirshipCustomEditorsfor querying the registered custom inspectors for AirshipBehavioursSee AirshipBehaviour inspectors for how to add custom editors
AirshipTypewhich is the Airship version ofTypefor TypeScript-based types.Types can be queried using
AirshipType.GetType(name)
AirshipEditorGUI- for drawing editor properties forAirshipSerializedPropertyinstances using IMGUI.AirshipGUIfor general Airship GUI stateTypescriptServicefor general TypeScript APIsTypescriptProjectsService.Projectfor querying the project settingsTypescriptCompilationServicefor querying the compiler state
Last updated