Overview
Last updated
Last updated
In Airship, you write code using TypeScript instead of C#.
Most Unity APIs are available and if something is missing ask in our , we'll add it.
You do not use C# for any game scripts (only advanced editor scripts)
TypeScript allows you to instantly update your game on all platforms
Open your Assets folder in . This will give you proper syntax highlighting and import suggestions. It's important to open the "Assets" folder and not the root folder.
To create a new script open the Project
tab and navigate to the Assets/Code
folder. In here you can see the scripts that control the template.
In the folder you can create a new script by right clicking and selecting:
Create > Airship > Typescript File
Useful Airship services can be found under the Game
Airship
and Platform
globals.