mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-19 13:10:45 +08:00
Link icon fixing, name refactoring
This commit is contained in:
@@ -7,10 +7,9 @@ export default class RealUnitEntity extends IEntity {
|
||||
value: 0,
|
||||
}
|
||||
|
||||
/** @param {Object | Number | String} options */
|
||||
constructor(options = 0) {
|
||||
super(options)
|
||||
/** @type {Number} */
|
||||
/** @param {Object | Number | String} values */
|
||||
constructor(values = 0) {
|
||||
super(values)
|
||||
this.value = Utility.clamp(this.value, 0, 1)
|
||||
}
|
||||
|
||||
@@ -21,4 +20,4 @@ export default class RealUnitEntity extends IEntity {
|
||||
toString() {
|
||||
return this.value.toFixed(6)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user