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] Sharing IDisposables

Iniciado por pioj, Diciembre 16, 2019, 11:00:25 AM

Tema anterior - Siguiente tema
IDisposable is becoming more and more prevalent in Unity. Previously, it was typically only used for I/O types like FileStream. Now it's used for in-memory types like NativeArray<T> to avoid the garbage collector. Needing to call Dispose manually means we're explicitly managing memory, just like we'd do in lower-level languages like C++. That comes with [...]
Ver artículo completo...

Etiquetas: