unity-types 6000.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # unity-types
2
+
3
+ TypeScript definitions for Unity, designed for use with [OneJS](https://onejs.com).
4
+
5
+ > **Note:** Only Unity 6000.3 and later versions are supported.
6
+
7
+ ## Installation
8
+
9
+ Install the version matching your Unity version:
10
+
11
+ ```bash
12
+ npm install unity-types@6000.3.0
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ The types are automatically available after installation:
18
+
19
+ ```typescript
20
+ const go = new CS.UnityEngine.GameObject("MyObject")
21
+ const pos: CS.UnityEngine.Vector3 = go.transform.position
22
+ ```
23
+
24
+ ## Included Assemblies
25
+
26
+ - `UnityEngine.CoreModule` - GameObject, Transform, Vector3, Color, etc.
27
+ - `UnityEngine.UIElementsModule` - VisualElement, Button, Label, etc.
28
+ - `UnityEngine.InputLegacyModule` - Input, KeyCode, etc.
29
+ - `UnityEngine.PhysicsModule` - Rigidbody, Collider, Physics, etc.
30
+ - `UnityEngine.AudioModule` - AudioSource, AudioClip, etc.
31
+
32
+ ## Versioning
33
+
34
+ Package versions match Unity versions directly:
35
+
36
+ | Package Version | Unity Version |
37
+ |-----------------|---------------|
38
+ | `6000.3.0` | Unity 6000.3 |
39
+
40
+ ## License
41
+
42
+ MIT
@@ -0,0 +1,8 @@
1
+ // Unity 6000.3 - UnityEngine.AudioModule
2
+ // Generated by OneJS Type Generator
3
+
4
+ declare namespace CS {
5
+ namespace UnityEngine {
6
+ // TODO: Generate from Type Generator
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ // Unity 6000.3 - UnityEngine.CoreModule
2
+ // Generated by OneJS Type Generator
3
+
4
+ declare namespace CS {
5
+ namespace UnityEngine {
6
+ // TODO: Generate from Type Generator
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ // Unity 6000.3 - UnityEngine.InputLegacyModule
2
+ // Generated by OneJS Type Generator
3
+
4
+ declare namespace CS {
5
+ namespace UnityEngine {
6
+ // TODO: Generate from Type Generator
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ // Unity 6000.3 - UnityEngine.PhysicsModule
2
+ // Generated by OneJS Type Generator
3
+
4
+ declare namespace CS {
5
+ namespace UnityEngine {
6
+ // TODO: Generate from Type Generator
7
+ }
8
+ }
@@ -0,0 +1,10 @@
1
+ // Unity 6000.3 - UnityEngine.UIElementsModule
2
+ // Generated by OneJS Type Generator
3
+
4
+ declare namespace CS {
5
+ namespace UnityEngine {
6
+ namespace UIElements {
7
+ // TODO: Generate from Type Generator
8
+ }
9
+ }
10
+ }
package/index.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ // Unity 6000.3 Type Definitions
2
+ // https://github.com/Singtaa/unity-types
3
+
4
+ /// <reference path="./UnityEngine.CoreModule.d.ts" />
5
+ /// <reference path="./UnityEngine.UIElementsModule.d.ts" />
6
+ /// <reference path="./UnityEngine.InputLegacyModule.d.ts" />
7
+ /// <reference path="./UnityEngine.PhysicsModule.d.ts" />
8
+ /// <reference path="./UnityEngine.AudioModule.d.ts" />
package/package.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "unity-types",
3
+ "version": "6000.3.0",
4
+ "description": "TypeScript definitions for Unity 6000.3",
5
+ "types": "index.d.ts",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/Singtaa/unity-types.git"
9
+ },
10
+ "keywords": [
11
+ "unity",
12
+ "typescript",
13
+ "types",
14
+ "onejs"
15
+ ],
16
+ "author": "Singtaa",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/Singtaa/unity-types/issues"
20
+ },
21
+ "homepage": "https://github.com/Singtaa/unity-types#readme"
22
+ }