@needle-tools/needle-component-compiler 1.9.2 → 1.9.4
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/Changelog.md +8 -0
- package/package.json +1 -1
- package/src/component-compiler.js +27 -9
- package/src/component-compiler.ts +28 -10
- package/src/test.js +1 -1
- package/src/test.ts +1 -1
- package/src/types.js +1 -1
- package/test/component.basic.test.ts +6 -2
- package/test/component.primitives.test.js +14 -0
- package/test/component.primitives.test.ts +35 -0
- package/schemes/MyNew.component.json +0 -1
- package/schemes/MyTest.component.json +0 -1
- package/test/blender/codegen/basic/expected.component.json +0 -4
- package/test/blender/codegen/basic/input.js +0 -26
- package/test/blender/codegen/basic/input.ts +0 -3
- package/test/blender/codegen/basic/output.component.json +0 -1
- package/test/blender/codegen/float field/expected.component.json +0 -8
- package/test/blender/codegen/float field/input.js +0 -28
- package/test/blender/codegen/float field/input.ts +0 -4
- package/test/blender/codegen/float field/output.component.json +0 -1
- package/test/blender/codegen/reference_animation/expected.component.json +0 -7
- package/test/blender/codegen/reference_animation/input.js +0 -35
- package/test/blender/codegen/reference_animation/input.ts +0 -4
- package/test/blender/codegen/reference_animation/output.component.json +0 -1
- package/test/blender/codegen/reference_behaviour/expected.component.json +0 -7
- package/test/blender/codegen/reference_behaviour/input.js +0 -35
- package/test/blender/codegen/reference_behaviour/input.ts +0 -5
- package/test/blender/codegen/reference_behaviour/output.component.json +0 -1
- package/test/csharp/codegen/abstract method/expected.cs +0 -14
- package/test/csharp/codegen/abstract method/input.js +0 -27
- package/test/csharp/codegen/abstract method/input.ts +0 -4
- package/test/csharp/codegen/abstract method/output.cs +0 -14
- package/test/csharp/codegen/basic/expected.cs +0 -13
- package/test/csharp/codegen/basic/input.js +0 -26
- package/test/csharp/codegen/basic/input.ts +0 -2
- package/test/csharp/codegen/basic/output.cs +0 -13
- package/test/csharp/codegen/basic-no-export/expected.cs +0 -0
- package/test/csharp/codegen/basic-no-export/input.js +0 -27
- package/test/csharp/codegen/basic-no-export/input.ts +0 -4
- package/test/csharp/codegen/basic-no-export/output.cs +0 -0
- package/test/csharp/codegen/bool/expected.cs +0 -14
- package/test/csharp/codegen/bool/input.js +0 -26
- package/test/csharp/codegen/bool/input.ts +0 -3
- package/test/csharp/codegen/bool/output.cs +0 -14
- package/test/csharp/codegen/fields with default values/expected.cs +0 -18
- package/test/csharp/codegen/fields with default values/input.js +0 -32
- package/test/csharp/codegen/fields with default values/input.ts +0 -7
- package/test/csharp/codegen/fields with default values/output.cs +0 -18
- package/test/csharp/codegen/method ignore inline type declaration/expected.cs +0 -14
- package/test/csharp/codegen/method ignore inline type declaration/input.js +0 -27
- package/test/csharp/codegen/method ignore inline type declaration/input.ts +0 -3
- package/test/csharp/codegen/method ignore inline type declaration/output.cs +0 -14
- package/test/csharp/codegen/nonserialized ignore field/expected.cs +0 -13
- package/test/csharp/codegen/nonserialized ignore field/input.js +0 -26
- package/test/csharp/codegen/nonserialized ignore field/input.ts +0 -4
- package/test/csharp/codegen/nonserialized ignore field/output.cs +0 -13
- package/test/csharp/codegen/nonserialized on property does not affect method/expected.cs +0 -14
- package/test/csharp/codegen/nonserialized on property does not affect method/input.js +0 -34
- package/test/csharp/codegen/nonserialized on property does not affect method/input.ts +0 -8
- package/test/csharp/codegen/nonserialized on property does not affect method/output.cs +0 -13
- package/test/csharp/codegen/number/expected.cs +0 -14
- package/test/csharp/codegen/number/input.js +0 -26
- package/test/csharp/codegen/number/input.ts +0 -3
- package/test/csharp/codegen/number/output.cs +0 -14
- package/test/csharp/codegen/object/expected.cs +0 -14
- package/test/csharp/codegen/object/input.js +0 -26
- package/test/csharp/codegen/object/input.ts +0 -3
- package/test/csharp/codegen/object/output.cs +0 -14
- package/test/csharp/codegen/private.methods/expected.cs +0 -13
- package/test/csharp/codegen/private.methods/input.js +0 -27
- package/test/csharp/codegen/private.methods/input.ts +0 -3
- package/test/csharp/codegen/private.methods/output.cs +0 -13
- package/test/csharp/codegen/protected.methods/expected.cs +0 -13
- package/test/csharp/codegen/protected.methods/input.js +0 -27
- package/test/csharp/codegen/protected.methods/input.ts +0 -3
- package/test/csharp/codegen/protected.methods/output.cs +0 -13
- package/test/csharp/codegen/public method with args/expected.cs +0 -14
- package/test/csharp/codegen/public method with args/input.js +0 -27
- package/test/csharp/codegen/public method with args/input.ts +0 -3
- package/test/csharp/codegen/public method with args/output.cs +0 -14
- package/test/csharp/codegen/public method with multiple args/expected.cs +0 -14
- package/test/csharp/codegen/public method with multiple args/input.js +0 -27
- package/test/csharp/codegen/public method with multiple args/input.ts +0 -3
- package/test/csharp/codegen/public method with multiple args/output.cs +0 -14
- package/test/csharp/codegen/public.methods/expected.cs +0 -14
- package/test/csharp/codegen/public.methods/input.js +0 -27
- package/test/csharp/codegen/public.methods/input.ts +0 -3
- package/test/csharp/codegen/public.methods/output.cs +0 -14
- package/test/csharp/codegen/static method/expected.cs +0 -13
- package/test/csharp/codegen/static method/input.js +0 -27
- package/test/csharp/codegen/static method/input.ts +0 -3
- package/test/csharp/codegen/static method/output.cs +0 -14
- package/test/csharp/codegen/string/expected.cs +0 -14
- package/test/csharp/codegen/string/input.js +0 -26
- package/test/csharp/codegen/string/input.ts +0 -3
- package/test/csharp/codegen/string/output.cs +0 -14
- package/test/csharp/codegen/stringArray/expected.cs +0 -14
- package/test/csharp/codegen/stringArray/input.js +0 -26
- package/test/csharp/codegen/stringArray/input.ts +0 -3
- package/test/csharp/codegen/stringArray/output.cs +0 -14
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
public void myMethod(float @myNumber){}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// NEEDLE_CODEGEN_END
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
exports.__esModule = true;
|
|
18
|
-
exports.MyComponent = void 0;
|
|
19
|
-
var MyComponent = /** @class */ (function (_super) {
|
|
20
|
-
__extends(MyComponent, _super);
|
|
21
|
-
function MyComponent() {
|
|
22
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
23
|
-
}
|
|
24
|
-
MyComponent.prototype.myMethod = function (myNumber) { };
|
|
25
|
-
return MyComponent;
|
|
26
|
-
}(Behaviour));
|
|
27
|
-
exports.MyComponent = MyComponent;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
public void myMethod(float @myNumber){}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// NEEDLE_CODEGEN_END
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
public void myMethod(float @myNumber, float @myOtherNumber){}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// NEEDLE_CODEGEN_END
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
exports.__esModule = true;
|
|
18
|
-
exports.MyComponent = void 0;
|
|
19
|
-
var MyComponent = /** @class */ (function (_super) {
|
|
20
|
-
__extends(MyComponent, _super);
|
|
21
|
-
function MyComponent() {
|
|
22
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
23
|
-
}
|
|
24
|
-
MyComponent.prototype.myMethod = function (myNumber, myOtherNumber) { };
|
|
25
|
-
return MyComponent;
|
|
26
|
-
}(Behaviour));
|
|
27
|
-
exports.MyComponent = MyComponent;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
public void myMethod(float @myNumber, float @myOtherNumber){}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// NEEDLE_CODEGEN_END
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
public void myMethod(){}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// NEEDLE_CODEGEN_END
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
exports.__esModule = true;
|
|
18
|
-
exports.MyComponent = void 0;
|
|
19
|
-
var MyComponent = /** @class */ (function (_super) {
|
|
20
|
-
__extends(MyComponent, _super);
|
|
21
|
-
function MyComponent() {
|
|
22
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
23
|
-
}
|
|
24
|
-
MyComponent.prototype.myMethod = function () { };
|
|
25
|
-
return MyComponent;
|
|
26
|
-
}(Behaviour));
|
|
27
|
-
exports.MyComponent = MyComponent;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
public void myMethod(){}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// NEEDLE_CODEGEN_END
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// NEEDLE_CODEGEN_END
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
exports.__esModule = true;
|
|
18
|
-
exports.MyComponent = void 0;
|
|
19
|
-
var MyComponent = /** @class */ (function (_super) {
|
|
20
|
-
__extends(MyComponent, _super);
|
|
21
|
-
function MyComponent() {
|
|
22
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
23
|
-
}
|
|
24
|
-
MyComponent.myMethod = function () { };
|
|
25
|
-
return MyComponent;
|
|
26
|
-
}(Behaviour));
|
|
27
|
-
exports.MyComponent = MyComponent;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
public void myMethod(){}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// NEEDLE_CODEGEN_END
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
public string @myField;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// NEEDLE_CODEGEN_END
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
exports.__esModule = true;
|
|
18
|
-
exports.MyComponent = void 0;
|
|
19
|
-
var MyComponent = /** @class */ (function (_super) {
|
|
20
|
-
__extends(MyComponent, _super);
|
|
21
|
-
function MyComponent() {
|
|
22
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
23
|
-
}
|
|
24
|
-
return MyComponent;
|
|
25
|
-
}(Behaviour));
|
|
26
|
-
exports.MyComponent = MyComponent;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
public string @myField;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// NEEDLE_CODEGEN_END
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
public string[] @myField;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// NEEDLE_CODEGEN_END
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
exports.__esModule = true;
|
|
18
|
-
exports.MyComponent = void 0;
|
|
19
|
-
var MyComponent = /** @class */ (function (_super) {
|
|
20
|
-
__extends(MyComponent, _super);
|
|
21
|
-
function MyComponent() {
|
|
22
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
23
|
-
}
|
|
24
|
-
return MyComponent;
|
|
25
|
-
}(Behaviour));
|
|
26
|
-
exports.MyComponent = MyComponent;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// NEEDLE_CODEGEN_START
|
|
2
|
-
// auto generated code - do not edit directly
|
|
3
|
-
|
|
4
|
-
#pragma warning disable
|
|
5
|
-
|
|
6
|
-
namespace Needle.Typescript.GeneratedComponents
|
|
7
|
-
{
|
|
8
|
-
public partial class MyComponent : UnityEngine.MonoBehaviour
|
|
9
|
-
{
|
|
10
|
-
public string[] @myField;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
// NEEDLE_CODEGEN_END
|