|
1 | | -# Needle Engine - C# to Typescript |
2 | | -This package adds support to convert existing C# components to starter typescript code. Note that it does not convert your complete C# logic to typescript but it produces files that can be used as starting point for converting a project to Needle Engine components. |
3 | | - |
4 | | -## Contact ✒️ |
5 | | -<b>[🌵 needle — tools for unity](https://needle.tools)</b> • |
6 | | -[@NeedleTools](https://twitter.com/NeedleTools) • |
7 | | -[@marcel_wiessler](https://twitter.com/marcel_wiessler) • |
8 | | -[@hybridherbst](https://twitter.com/hybridherbst) • |
9 | | -[Needle Discord](https://discord.needle.tools) |
| 1 | +# Needle Engine - C# to TypeScript |
| 2 | + |
| 3 | +This package converts existing C# components to starter TypeScript code for use with Needle Engine. It does not fully convert C# logic to TypeScript but produces files that serve as a starting point for porting a project to Needle Engine components. |
| 4 | + |
| 5 | +## Features |
| 6 | +- Converts C# classes, structs, and enums to TypeScript |
| 7 | +- Maps Unity types to Needle Engine equivalents |
| 8 | +- Generates fields, properties, and method stubs |
| 9 | +- Available as a Unity Editor context menu action |
| 10 | + |
| 11 | +## Usage |
| 12 | +1. Install the package in your Unity project |
| 13 | +2. Right-click a C# script in the Project window |
| 14 | +3. Select the option to generate TypeScript |
| 15 | + |
| 16 | +## Requirements |
| 17 | +- Unity 2021.3+ |
| 18 | +- `com.needle.engine-exporter` 2.50.0-pre or later |
| 19 | +- `com.unity.code-analysis` 0.1.2-preview or later |
| 20 | + |
| 21 | +## Contact |
| 22 | +[needle — tools for unity](https://needle.tools) | |
| 23 | +[@NeedleTools](https://twitter.com/NeedleTools) | |
| 24 | +[@marcel_wiessler](https://twitter.com/marcel_wiessler) | |
| 25 | +[@hybridherbst](https://twitter.com/hybridherbst) | |
| 26 | +[Needle Discord](https://discord.needle.tools) |
0 commit comments