Scripting in Tiny Mode | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023