mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-23 15:24:45 +08:00
Move style related actions to templates
This commit is contained in:
@@ -49,8 +49,22 @@ export default class PinEntity extends Entity {
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
isOutput() {
|
||||
if (this.Direction === "EGPD_Output") {
|
||||
if (!this.bHidden && this.Direction === "EGPD_Output") {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user