public void BeginSetup(JobComponentSystem system #if ENABLE_UNITY_COLLECTIONS_CHECKS , AtomicSafetyHandle safetyHandle #endif ) { GhostIdentifierFromEntity = system.GetComponentDataFromEntity <GhostIdentifier>(true); #if ENABLE_UNITY_COLLECTIONS_CHECKS SafetyUtility.Replace(ref GhostIdentifierFromEntity, safetyHandle); #endif }
public void SetEmptySafetyHandle <TComponent>(ref ComponentTypeHandle <TComponent> comp) where TComponent : struct, IComponentData { #if ENABLE_UNITY_COLLECTIONS_CHECKS SafetyUtility.Replace(ref comp, SafetyHandle); #endif }
public void SetEmptySafetyHandle(ref BufferFromEntity <TSnapshot> bfe) { #if ENABLE_UNITY_COLLECTIONS_CHECKS SafetyUtility.Replace(ref bfe, SafetyHandle); #endif }