mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Fixes an issue where script-based components listed in the scene tree would not have a name on their tree item.
This commit is contained in:
parent
e48ee1a03a
commit
18184747e3
2 changed files with 48 additions and 2 deletions
|
|
@ -66,6 +66,12 @@ public:
|
|||
/// Declare Console Object.
|
||||
DECLARE_CONOBJECT(ComponentAsset);
|
||||
|
||||
StringTableEntry getComponentName() { return mComponentName; }
|
||||
StringTableEntry getComponentClass() { return mComponentClass; }
|
||||
StringTableEntry getFriendlyName() { return mFriendlyName; }
|
||||
StringTableEntry getFriendlyType() { return mComponentType; }
|
||||
StringTableEntry getDescription() { return mDescription; }
|
||||
|
||||
protected:
|
||||
virtual void initializeAsset(void) {}
|
||||
virtual void onAssetRefresh(void) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue