Unity Spain
Comunidad => Unity Feeds => Mensaje iniciado por: pioj en Julio 01, 2019, 11:00:33 AM
Assertions are an incredibly handy tool, but do they work in Burst-compiled jobs? Today we'll find out! Unity Assert Let's start by trying to use the assertion system provided by Unity in the UnityEngine.Assertions namespace: [BurstCompile] struct UnityAssertJob : IJob { public int A; public void Execute() { Assert.IsTrue(A != 0); } } Opening [...]
Ver artículo completo... (https://jacksondunstan.com/articles/5292)