Documentation

Unity Engine

Download Unity

Unity Engine

TypeHash

Hash that identifies the type of the blob root, used to check that a BlobObject stores the type you expect.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public static ulong TypeHash { get; }

Remarks

The hash is computed from the full name of the type, without its assembly, so it is the same in the Editor and in players. Renaming the type or moving it to another namespace changes the hash, and data stored with the old hash no longer matches.
In Burst-compiled code, the value is 0 until managed code has read this property once.