Preliminary Exploration of ECS 1.0 pre
foreword
Take advantage of the new year to study ECS
Install
create project
It is best to create a 3D URP rendering pipeline project with version 2022.2 or higher
Wait patiently
Open Package Manager
add package
Click Add package by name...
to install the package , enter the
package name , click the button to install the package (if you want to add a physical system and then install this, you need to package and install this ) will automatically install the package and its dependenciescom.unity.entities.graphics
Add
com.havok.physics
com.unity.platforms
You can click on Entities
the package to view the installed dependencies
Modify project settings
Enter Project Settings...
and tick Enter Play Mode Settings
the following so that running the project will be fasterEnter Play Mode Options
Modify Preferences settings
open Preferences
set Scene View Mode
toRuntime Data
Create project folder
Click Readme
and click Remove Readme Assets
to delete the files that come with the URP
to create a folder
create subscene
Create a EntityScene
scene named
after the creation is complete, you can see
SubScene
the following objects will be automatically converted toEntity
Summarize
After installing ECS1.0 pre, you can prepare to write something