originalImmutable
It tells the InstantiateAsync if it's safe to do the serialization step async.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool originalImmutable
Remarks
By default InstantiateAsync serializes all the data before returning and the only async part is the creation of the new objects. This is to avoid issues in the case that the object that we are cloning is modified or deleted. If this flag is set, the serialization will also be async, allowing it to return way earlier.