The TypeScript Compiler for Airship
unity-ts is the compiler for Airship's Typescript scripting. It is a different flavour of TypeScript that compiles to Luau.
Want to dive into Airship? Check out our getting started guide!
Below is our documentation around quirks and features of this Typescript compiler
-
AirshipBehaviour - Airship's TypeScript parallel to
MonoBehaviour
- DataType math - Since Typescript has no operators, we have our own operator "macros"
- JS to Luau - Our flavour of TypeScript is a Luau-based one, so our API is a little different from vanilla TypeScript.