mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
Type initialization using objects
This commit is contained in:
@@ -3,9 +3,9 @@ import IEntity from "./IEntity"
|
||||
export default class VectorEntity extends IEntity {
|
||||
|
||||
static attributes = {
|
||||
X: Number,
|
||||
Y: Number,
|
||||
Z: Number,
|
||||
X: 0,
|
||||
Y: 0,
|
||||
Z: 0,
|
||||
}
|
||||
|
||||
constructor(values) {
|
||||
|
||||
Reference in New Issue
Block a user