Documentation

Unity Engine

Download Unity

Unity Engine

WriteUIDs(ReadOnlySpan<HierarchyNode>, Span<byte>)

Serializes stable identifiers for the given nodes into outUIDs. The buffer is pre-zeroed; write only slots that have a valid identity. Unwritten slots are treated as unresolvable during restore.
Read time 1 minuteLast updated 8 hours ago

Definition

protected virtual void WriteUIDs(ReadOnlySpan<HierarchyNode> nodes, Span<byte> outUIDs)

Parameters

Nodes to serialize, one per output slot.

outUIDs

Packed UID bytes,
GetUIDInfo().Size
bytes per node.