예제 #1
0
        private static void PlaybackChainChunk(EntityDataAccess *mgr, Unity.Collections.LowLevel.Unsafe.UnsafeList *managedReferenceIndexRemovalCount, ref EntityComponentStore.ArchetypeChanges archetypeChanges, ref ECBSharedPlaybackState playbackState, ECBChainPlaybackState *chainStates, int currentChain, int nextChain, bool isFirstPlayback, PlaybackPolicy playbackPolicy)
        {
#if !UNITY_IOS
            if (UseDelegate())
            {
                _forward_mono_PlaybackChainChunk(mgr, managedReferenceIndexRemovalCount, ref archetypeChanges, ref playbackState, chainStates, currentChain, nextChain, isFirstPlayback, playbackPolicy);
                return;
            }
#endif

            _PlaybackChainChunk(mgr, managedReferenceIndexRemovalCount, ref archetypeChanges, ref playbackState, chainStates, currentChain, nextChain, isFirstPlayback, playbackPolicy);
        }
예제 #2
0
 private static void _forward_mono_RemoveComponentEntitiesBatch(EntityComponentStore *entityComponentStore, Unity.Collections.LowLevel.Unsafe.UnsafeList *entityBatchList, int typeIndex)
 {
     _bfp_RemoveComponentEntitiesBatch(entityComponentStore, entityBatchList, typeIndex);
 }
예제 #3
0
        public static void RemoveComponentEntitiesBatch(EntityComponentStore *entityComponentStore, Unity.Collections.LowLevel.Unsafe.UnsafeList *entityBatchList, int typeIndex)
        {
#if !(UNITY_DOTSRUNTIME || (UNITY_2020_1_OR_NEWER && UNITY_IOS))
            if (UseDelegate())
            {
                _forward_mono_RemoveComponentEntitiesBatch(entityComponentStore, entityBatchList, typeIndex);
                return;
            }
#endif

            _RemoveComponentEntitiesBatch(entityComponentStore, entityBatchList, typeIndex);
        }
예제 #4
0
 private static void _mono_to_burst_AddComponentEntitiesBatch(EntityComponentStore *entityComponentStore, Unity.Collections.LowLevel.Unsafe.UnsafeList *entityBatchList, int typeIndex)
 {
     _AddComponentEntitiesBatch(entityComponentStore, entityBatchList, typeIndex);
 }
 private static void _forward_mono_RemoveComponentsEntitiesBatch(EntityComponentStore *entityComponentStore, Unity.Collections.LowLevel.Unsafe.UnsafeList *entityBatchList, ref ComponentTypes types)
 {
     Managed._bfp_RemoveComponentsEntitiesBatch((IntPtr)entityComponentStore, (IntPtr)entityBatchList, ref types);
 }
        public static void RemoveComponentsEntitiesBatch(EntityComponentStore *entityComponentStore, Unity.Collections.LowLevel.Unsafe.UnsafeList *entityBatchList, ref ComponentTypes types)
        {
#if !UNITY_IOS
            if (UseDelegate())
            {
                _forward_mono_RemoveComponentsEntitiesBatch(entityComponentStore, entityBatchList, ref types);
                return;
            }
#endif

            _RemoveComponentsEntitiesBatch(entityComponentStore, entityBatchList, ref types);
        }
 private static void _forward_mono_AddComponentEntitiesBatch(EntityComponentStore *entityComponentStore, Unity.Collections.LowLevel.Unsafe.UnsafeList *entityBatchList, int typeIndex)
 {
     Managed._bfp_AddComponentEntitiesBatch((IntPtr)entityComponentStore, (IntPtr)entityBatchList, typeIndex);
 }
        public static void AddComponentEntitiesBatch(EntityComponentStore *entityComponentStore, Unity.Collections.LowLevel.Unsafe.UnsafeList *entityBatchList, int typeIndex)
        {
#if !UNITY_IOS
            if (UseDelegate())
            {
                _forward_mono_AddComponentEntitiesBatch(entityComponentStore, entityBatchList, typeIndex);
                return;
            }
#endif

            _AddComponentEntitiesBatch(entityComponentStore, entityBatchList, typeIndex);
        }
        public static void AddComponentEntitiesBatch(EntityComponentStore *entityComponentStore, Unity.Collections.LowLevel.Unsafe.UnsafeList *entityBatchList, int typeIndex)
        {
#if !(NET_DOTS || (UNITY_2020_1_OR_NEWER && UNITY_IOS))
            if (IsMono())
            {
                _forward_mono_AddComponentEntitiesBatch(entityComponentStore, entityBatchList, typeIndex);
                return;
            }
#endif

            _AddComponentEntitiesBatch(entityComponentStore, entityBatchList, typeIndex);
        }
예제 #10
0
 private static void _forward_mono_PlaybackChainChunk(EntityDataAccess *mgr, Unity.Collections.LowLevel.Unsafe.UnsafeList *managedReferenceIndexRemovalCount, ref EntityComponentStore.ArchetypeChanges archetypeChanges, ref ECBSharedPlaybackState playbackState, ECBChainPlaybackState *chainStates, int currentChain, int nextChain, bool isFirstPlayback, PlaybackPolicy playbackPolicy)
 {
     Managed._bfp_PlaybackChainChunk((IntPtr)mgr, (IntPtr)managedReferenceIndexRemovalCount, ref archetypeChanges, ref playbackState, (IntPtr)chainStates, currentChain, nextChain, isFirstPlayback, playbackPolicy);
 }