|
| static ResourceName | GetPrefabName (IEntity entity) |
| | Gets the prefab the entity uses.
|
| |
| static string | GetPrefabGUID (ResourceName prefab) |
| | Gets the GUID of a prefab.
|
| |
◆ GetPrefabGUID()
| static string SCR_ResourceNameUtils.GetPrefabGUID |
( |
ResourceName | prefab | ) |
|
|
static |
Gets the GUID of a prefab.
◆ GetPrefabName()
| static ResourceName SCR_ResourceNameUtils.GetPrefabName |
( |
IEntity | entity | ) |
|
|
static |
Gets the prefab the entity uses.
- Parameters
-
| [in] | entity | Instance of which to get the prefab name |
- Returns
- the resource name of the prefab or empty string if no prefab was used or entity is invalid
The documentation for this interface was generated from the following file:
- Game/Utilities/SCR_ResourceNameUtils.c