mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-13 11:47:30 +08:00
Small refactoring
This commit is contained in:
@@ -41,22 +41,6 @@ export default class PinEntity extends Entity {
|
||||
return PinEntity.attributes
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @returns {String}
|
||||
*/
|
||||
getPinDisplayName() {
|
||||
return this.PinName
|
||||
}
|
||||
|
||||
isConnected() {
|
||||
return this.LinkedTo.length > 0
|
||||
}
|
||||
|
||||
getType() {
|
||||
return this.PinType.PinCategory ?? "object"
|
||||
}
|
||||
|
||||
isInput() {
|
||||
if (!this.bHidden && this.Direction !== "EGPD_Output") {
|
||||
return true
|
||||
@@ -68,4 +52,12 @@ export default class PinEntity extends Entity {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
isConnected() {
|
||||
return this.LinkedTo.length > 0
|
||||
}
|
||||
|
||||
getType() {
|
||||
return this.PinType.PinCategory ?? "object"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user