#How do I get a reference to command buffer

1 messages · Page 1 of 1 (latest)

lethal granite
#

There's only old guides of accessing command buffers, such as this:
https://www.youtube.com/watch?v=hALEF5f7Mos
They use World.GetOrCreateSystem<EndSimulationEntityCommandBufferSystem>(), which does not work with ISystem, and no longer works with SystemBase. Where can I find updated guide?
I'm trying to add destruction of entities to a buffer

❗❗ Caution: This video was made with an older version of ECS. See pinned comment for further Details ❗❗
📌 Download the project files from this video: https://tmg.dev/ECS_ECB 📌
👨‍💻 Download the code featured in this video: https://tmg.dev/ECB_Code 👨‍💻
💻 My Game Development Setup: https://tmg.dev/GameDevPC 💻
👇 See below for time stamps 👇

  • 0:0...
▶ Play video