EntityComponentSystemSamples/README.md

45 строки
3.3 KiB
Markdown
Исходник Постоянная ссылка Обычный вид История

# DOTS Samples
2022-12-17 18:55:40 +03:00
- [Entities samples](./EntitiesSamples/Assets/README.md)
- [Netcode samples](./NetcodeSamples/README.md)
2022-12-17 18:55:40 +03:00
- [Physics samples](./PhysicsSamples/README.md)
- [Entities.Graphics HDRP samples](./GraphicsSamples/HDRPSamples/README.md)
- [Entities.Graphics URP samples](./GraphicsSamples/URPSamples/README.md)
# Learning DOTS
For those new to DOTS, here's the recommended sequence to follow through the introductory material in the [Entities samples project](./EntitiesSamples/Assets/README.md):
2022-12-17 18:55:40 +03:00
A few short videos introduce the basic concepts of the job system and ECS:
2022-12-17 18:55:40 +03:00
1. [Video: The C# Job system](https://youtu.be/jdW66hA-Qu8) (11 minutes)
1. [Video: ECS Entities and components](https://youtu.be/jzCEzNoztzM) (10 minutes)
1. [Video: ECS Systems](https://youtu.be/k07I-DpCcvE) (7 minutes)
2023-10-21 01:56:34 +03:00
1. [Video: ECS Baking](https://youtu.be/r337nXZFYeA) (6 minutes)
2022-12-17 18:55:40 +03:00
You may also want to read the [Entities API overview](./EntitiesSamples/Assets/README.md#entities-api-overview), which is briefer and more sequentially structured than the [manual](https://docs.unity3d.com/Packages/com.unity.entities@latest/).
2022-12-17 18:55:40 +03:00
These starter samples each have an explanatory video:
- The [Jobs Tutorial sample](./EntitiesSamples/Assets/Tutorials/Jobs/README.md) (17 minute [walkthrough video](https://youtu.be/oOgNg2gL2yw)) demonstrates creation and scheduling of jobs.
- The [HelloCube samples](./EntitiesSamples/Assets/HelloCube/README.md) (30 minute [walkthrough video](https://youtu.be/32TLgtA9yUM)) demonstrate very basic Entities usage, such as creating and moving rendered entities in systems and jobs.
- The [Tanks tutorial](./EntitiesSamples/Assets/Tutorials/Tanks/README.md) (23 minute [walkthrough video](https://youtu.be/jAVVxoWU5lo)) puts the basic elements of Entities and jobs together to demonstrate a small simulation.
- The [Kickball tutorial](./EntitiesSamples/Assets/Tutorials/Kickball/README.md) (55 minute [walkthrough video](https://youtu.be/P6_3L7RTcm0)) also demonstrates a small simulation, but with a bit more depth.
- The [StateChange sample](./EntitiesSamples/Assets/Miscellaneous/StateChange/) (14 minute [walkthrough video](https://youtu.be/KC-EyCh5TrY)) demonstrates three different ways to handle state representation in Entities.
Beyond the above starter samples, there are samples covering [Baking](./EntitiesSamples/Assets/Baking/README.md), [Streaming](./EntitiesSamples/Assets/Streaming/README.md) (for large worlds and scene management), and [Miscellaneous](./EntitiesSamples/Assets/Miscellaneous/README.md).
For quick reference of basic API usage, use these example code snippets and cheat sheets:
2022-12-17 18:55:40 +03:00
- [Example code: jobs](./EntitiesSamples/Assets/ExampleCode/Jobs.cs)
- [Example code: components and systems](./EntitiesSamples/Assets/ExampleCode/ComponentsSystems.cs)
- [Example code: baking](./EntitiesSamples/Assets/ExampleCode/Baking.cs)
- [Cheat sheet: collections](./EntitiesSamples/Docs/cheatsheet/collections.md)
- [Cheat sheet: mathematics](./EntitiesSamples/Docs/cheatsheet/mathematics.md)
2022-12-17 18:55:40 +03:00
Finally, there's the [ECS Network Racing sample](https://github.com/Unity-Technologies/ECS-Network-Racing-Sample), which is a working DOTS game using DOTS Netcode and Physics.
2018-03-17 12:02:16 +03:00
# Release notes
2018-03-17 12:02:16 +03:00
2024-07-15 09:23:44 +03:00
This is the samples release for Unity 2022.3 LTS and the 1.2 release of the `Entities`, `Netcode`, `Physics`, and `Entities.Graphics` packages.