Noticias

¡RECUERDA QUE SI ERES UN NUEVO USUARIO, DEBES PRESENTARTE PARA PODER PUBLICAR MENSAJES! | TENEMOS CANAL OFICIAL DE TELEGRAM: t.me/unity3dspain

Temas recientes

[Jackson Dunstan] Assertions in Burst

Iniciado por pioj, Julio 01, 2019, 11:00:33 AM

Tema anterior - Siguiente tema
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...

Etiquetas: