filmov
tv
DOTS Gameplay: Trigger Events
Показать описание
In this video, we setup a simple trigger event, introducing some extra interactivity to our mini-game demo. The simple act of picking up an item might need a little more scripting than you think. We're a long way from OnTriggerEnter!
Starter project:
Final project:
This is a double-size episode, so use the timestamps below:
TIMESTAMPS
0:42 Packages and Setup
1:30 Simple Physics Scene
2:52 Unity Physics Worlds/System Update Order
3:57 TriggerEvents Scene
4:25 ItemPickUp Setup and SubScene
5:27 PickUp Physics Authoring Components
6:54 Physics Debug Display
7:53 Spaceship Physics Authoring
8:22 PickUpTag Component
8:58 PickupOnTriggerSystem
9:51 Reviewing JobComponentSystem
10:39 Setting up ITriggerEventsJob
11:17 Set up Physics Worlds references
13:07 ComponentDataFromEntity
14:29 Execute logic
16:55 update System Order and disable Burst
17:57 Debug Play Test
18:43 EntityCommandBuffer
19:50 ECB Systems
20:45 Creating the EntityCommandBuffer / Destroying the PickUps
23:10 Second Play Test
23:53 More PickUps
Software: Unity 2019.3.14f1 (MacOS) with HybridRender Version 0.4.1 and Entities Version 0.9.0 from the PackageManager.
Also check out the previous videos in this series:
DOTS Gameplay: Basic Player Input and Movement:
DOTS Gameplay: Tags:
DOTS Gameplay: ComponentDataFromEntity:
DOTS Gameplay: EntityQuery
Unity DOTS: C# Job System:
Want to learn more about DOTS and ECS? Sign up for our mailing list to get notified when the premium course releases:
Let’s build something cool together!
Ready to go Pro? Get Unity Pro here (affiliate link):
Starter project:
Final project:
This is a double-size episode, so use the timestamps below:
TIMESTAMPS
0:42 Packages and Setup
1:30 Simple Physics Scene
2:52 Unity Physics Worlds/System Update Order
3:57 TriggerEvents Scene
4:25 ItemPickUp Setup and SubScene
5:27 PickUp Physics Authoring Components
6:54 Physics Debug Display
7:53 Spaceship Physics Authoring
8:22 PickUpTag Component
8:58 PickupOnTriggerSystem
9:51 Reviewing JobComponentSystem
10:39 Setting up ITriggerEventsJob
11:17 Set up Physics Worlds references
13:07 ComponentDataFromEntity
14:29 Execute logic
16:55 update System Order and disable Burst
17:57 Debug Play Test
18:43 EntityCommandBuffer
19:50 ECB Systems
20:45 Creating the EntityCommandBuffer / Destroying the PickUps
23:10 Second Play Test
23:53 More PickUps
Software: Unity 2019.3.14f1 (MacOS) with HybridRender Version 0.4.1 and Entities Version 0.9.0 from the PackageManager.
Also check out the previous videos in this series:
DOTS Gameplay: Basic Player Input and Movement:
DOTS Gameplay: Tags:
DOTS Gameplay: ComponentDataFromEntity:
DOTS Gameplay: EntityQuery
Unity DOTS: C# Job System:
Want to learn more about DOTS and ECS? Sign up for our mailing list to get notified when the premium course releases:
Let’s build something cool together!
Ready to go Pro? Get Unity Pro here (affiliate link):
Комментарии