IsHTML

screenshot of IsHTML

Create UI elements via HTML / TSX in Unity's Tiny.

Overview

IsHTML for Unity's Tiny mode is an innovative solution designed to enhance the user interface capabilities of Unity's Project Tiny, particularly for web applications. With the inherent limitations of the built-in UILayout methods, IsHTML makes it possible to render HTML elements directly, allowing developers to create rich and responsive UIs. This tool opens up exciting possibilities in dynamic and interactive content creation right within the Unity environment, even for those who are not deeply familiar with web technologies.

The extension simplifies the integration of static and interactive HTML elements into Unity projects, providing both a straightforward setup for basic HTML and advanced features for dynamic content through TypeScript. Whether you're working on tutorial pages or interactive applications, IsHTML brings a versatile approach to UI development in Unity's Tiny mode.

Features

  • HTML Rendering: Map HTML directly onto RectTransforms, enabling developers to use familiar web technologies for UI creation within Unity.

  • Static HTML Support: Easily incorporate static HTML content into your project, perfect for elements like tutorial pages that do not require dynamic updates.

  • Dynamic Content with TSX: Utilize TypeScript with JSX/TSX traits to create interactive HTML content, allowing for event propagation and dynamic behavior.

  • Custom CSS Integration: Set game-wide CSS styles through the IsHTMLConfiguration component, ensuring a consistent look across your UI elements.

  • Ease of Installation: Simplified installation process with ready-to-use project components, making it easy to get started without extensive configuration.

  • Screen DPI Correction: Included HDPI hacks address screen DPI issues, improving clarity and usability on high-resolution displays.

  • Browser Compatibility: Primarily tested for Tiny projects targeting web browsers, ensuring optimal performance in that environment.

  • MIT License: IsHTML is open source under the MIT license, providing freedom and flexibility for developers to modify and adapt the code as needed.