readPersistentId
readPersistentId(
entity):string|null
The id that names entity across restarts: the one a per-entity save
of the world, each in worldSaves, keeps it under, or null for an
entity no such save keeps, a player’s record’s among them. What a game
stores to name another record. A copy of a member holds its source’s
id until it is decided, so the ask decides it first. Unity’s
GlobalObjectId and Unreal’s GetActorGuid are the editor’s alone,
so neither engine has one at run time to follow.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
Returns
Section titled “Returns”string | null