예제 #1
0
        protected override void OnStartRunning()
        {
            int length = componentGroup.CalculateLength();

            for (int i = 0; i < IterationCount; i++)
            {
                hashMaps[i] = NativeManager.AllocateAndAutoDisposeNativeMultiHashMap <Entity, float2>(length * 12, Allocator.Persistent);
            }
        }