mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-15 09:44:49 +08:00
LinkedTo not shown by default, node name fixed
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// @ts-check
|
||||
|
||||
import Utility from "../Utility"
|
||||
import FunctionReferenceEntity from "./FunctionReferenceEntity"
|
||||
import GuidEntity from "./GuidEntity"
|
||||
import IdentifierEntity from "./IdentifierEntity"
|
||||
@@ -66,7 +67,13 @@ export default class ObjectEntity extends IEntity {
|
||||
}
|
||||
|
||||
getDisplayName() {
|
||||
return this.getNameAndCounter()[0]
|
||||
let name = this.FunctionReference?.MemberName
|
||||
if (name) {
|
||||
name = Utility.formatStringName(name)
|
||||
return name
|
||||
}
|
||||
name = Utility.formatStringName(this.getNameAndCounter()[0])
|
||||
return name
|
||||
}
|
||||
|
||||
getCounter() {
|
||||
|
||||
Reference in New Issue
Block a user