Class PrefabPackedIdentifiers
Generates a deterministic identifier using a MD5 hash algorithm and does not require object ordering to be deterministic.
This algorithm ensures objects coming from the same asset are packed closer together and can improve loading performance under certain situations.
Inheritance
System.Object
PrefabPackedIdentifiers
Syntax
public class PrefabPackedIdentifiers : IDeterministicIdentifiers
Methods
GenerateInternalFileName(String)
Declaration
public string GenerateInternalFileName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.String |
|
SerializationIndexFromObjectIdentifier(ObjectIdentifier)
Declaration
public long SerializationIndexFromObjectIdentifier(ObjectIdentifier objectID)
Parameters
Type |
Name |
Description |
ObjectIdentifier |
objectID |
|
Returns
Type |
Description |
System.Int64 |
|