Closed jkeon closed 7 months ago
Updated based on your comments.
Quite a few of them I had responses for that require your input or an discussion via a call.
Can you check off what is complete in that issue? Or if it makes more sense move the other pending work to new issues.
Yes, updated and checked off everything except for the one remaining effort which is more involved. #86 now refers here and is about going through the code base to create issues for the specific post entities 1.0 upgrade work to do.
@mbaker3 Additional comments made and/or changes made. Back over to you!
Upgrading the code base to Entities 1.0.16
What is the current behaviour?
Currently on 0.51
What is the new behaviour?
[BurstCompatible]
and[NotBurstCompatible]
attributes.struct
for most generic constraints. Must useunmanaged
TypeIndex
instead ofint
sWorldInternal
no longer hasOnWorldCreated
orOnWorldDestroyed
events.World
and handle any specific logic in the Constructor/Dispose method.Translation
,Rotation
, andScale
components no longer exist, instead aLocalTransform
component is used.World.GetOrCreateSystem
and related API's are nowWorld.GetOrCreateSystemManaged
and related APIs.DynamicBufferSharedWriteHandle
and the associated bloat that was necessary withWorldCache
.DBFEWriter
BufferFromEntity
is nowBufferLookup
ComponentDataFromEntity
is nowComponentLookup
NativeArray
now returnNativeList
to account for disabled entities.IJobEntityBatch
are nowIJobChunk
ParallelAccessUtil
since it's now much more simplified.ITaskForDefer
,ITaskCancelJobForDefer
andITaskUpdateJobForDefer
to no longer be generic jobs.ISystem
s for Burstable systems and generic job types are no longer allowed.Execute
function will give an index which can then be used to get the right element from the reader.What issues does this resolve?
What PRs does this depend on?
Does this introduce a breaking change?