Browsed by
Tag: C#

Scene editing and ECS conversion

Scene editing and ECS conversion

When working with the DOTS framework and implementation of ECS, you’ll quickly realize that there is currently very little in the way of scene editing. Entities might render, but you can’t interact with them in the scene editor. The workaround for this problem allows for the conversion of a scene, into entities. However, any traditionally written code (using monobehaviour, that is) will be lost in translation. This article covers how you should write your code in ECS and attach it…

Read More Read More

Unity C# Job system and Burst Compiler/DOTS introduction

Unity C# Job system and Burst Compiler/DOTS introduction

The Jobs System in Unity allows for the execution of code across multiple cores at once, significantly speeding up heavy tasks such as pathfinding and similarly repetitive logic. Additionally, when something is set to run as a job, Unity supports use of the Burst Compiler, which will compile that bit of code into high-performance assembly code. Source material: https://www.youtube.com/watch?v=C56bbgtPr_w Reading instructions: This document is a follow-up to the previous article on ECS, as part of an introduction to working with…

Read More Read More

Analyzing telemetry

Analyzing telemetry

I previously covered how to connect your Unity client to a Google Drive spreadsheet and upload your telemetry data. Which is cool but not very useful if we can’t retrieve that data. One solution is to go into your Drive and download the spreadsheet manually, but that’s not really awesome. What we want is a client which not only downloads the data directly, but formats it and does cool telemetry-analytical-things to it! Downloading the data: Luckily, accessing the data stored…

Read More Read More