기술 자료

Unity Engine

Unity Engine

originalImmutable

It tells the InstantiateAsync if it's safe to do the serialization step async.
읽는 시간 1분최근 업데이트: 한 달 전

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.