Skip to content

Instantly share code, notes, and snippets.

@Densyakun
Last active July 23, 2019 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Densyakun/e5ead3e56e65b5b711fbabc9cad41679 to your computer and use it in GitHub Desktop.
Save Densyakun/e5ead3e56e65b5b711fbabc9cad41679 to your computer and use it in GitHub Desktop.

場所に注意するものや、名前が変わってるもの、使い方が変わっているものなど、更新、変更箇所(見つけたやつ)

実はこれはすべて逆である。

なぜならUnityのバージョンが古く、β版でしか最新版が利用できなかったため、古いバージョンが最新版だと思いこんでいたからである。

左が新しいEntities preview.32で、右がpreview.24である。

再編集する気力はない。

  • MeshInstanceRenderer -> RenderMesh (Hybrid Renderer, Unity.Rendering)
  • MeshInstanceRendererSystem -> RenderMeshSystem (Hybrid Renderer, Unity.Rendering)
  • World.***System -> World.***Manager
  • EntityQueryDesc -> EntityArchetypeQuery (Unity.Entities, 非推奨?)
  • EntityQuery.*** -> EntityManager.*** など
  • Allocator (Unity.Collections)
  • float3 (Mathematics, Unity.Mathematics)
  • math (Mathematics, Unity.Mathematics)
  • NativeArray (Unity.Collections)
  • void* NativeArray.GetUnsafePtr() (Unity.Collections.LowLevel.Unsafe)
  • NativeArrayUnsafeUtility (Unity.Collections.LowLevel.Unsafe)
  • Position (Unity.Transforms)
  • EntityManager.CreateArchetypeChunkArray は旧形式。ComponentGroupを使用とのこと。
  • ComponentSystemGroup は不要。 UpdateBefore, UpdateAfter 属性のみで良し。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment