Scripting in Tiny Mode
Scripting in Tiny Mode is based on the Entity-Component-System (ECS) architectural pattern. While you can author entities and components in the Editor, Systems are authored in code.
Tiny supports a single programming language at the moment: TypeScript.
Note: as of December 2018, we are working on C# support, which will become the recommended programming language on Tiny. You will be able to invoke JavaScript from C# on Web platforms.
Setup
You don't need to install anything to get TypeScript working in Tiny, but you may want to setup a different IDE to open .ts files. You can configure your default TypeScript IDE by opening the Preferences settings window (Unity / Preferences... on Mac, Edit / Preferences... on Windows), go to the Tiny Preferences tab, and modify the IDE Path property to your preferred IDE.
We highly recommend Visual Studio Code, but other popular IDEs such as JetBrains Rider, Sublime Text, and Visual Studio also work just fine.