We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea1721d commit fba035cCopy full SHA for fba035c
src/Typings/UnityscriptObject/index.js
@@ -5,16 +5,16 @@ const util = require('util');
5
6
7
class UnityscriptObject {
8
- constructor(obj, line) {
+ constructor(name, obj) {
9
Object.defineProperty(this, "__value", {
10
get: () => obj,
11
set: (value) => obj = value,
12
configurable: true
13
});
14
15
- Object.defineProperty(this, "__line", {
16
- get: () => line,
17
- set: (value) => line = value,
+ Object.defineProperty(this, "__name", {
+ get: () => name,
+ set: (value) => name = value,
18
19
})
20
0 commit comments