this post was submitted on 10 Aug 2023
27 points (96.6% liked)

Game Development

3483 readers
53 users here now

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

founded 1 year ago
MODERATORS
all 4 comments
sorted by: hot top controversial new old
[–] Mikina@programming.dev 7 points 1 year ago

Async/await and Tasks in Unity. They basically work similar to Coroutines, but without the boilerplate code required.

I'd even say that Tasks and async is better in most of the cases you'd use a coroutine for - the main difference is that Coroutine is tied to framerate, and is guaranteed to be executed every frame (unless you yield something that waits longer), which is something you can't do with Tasks. But most of my Coroutine usage is tied to WaitForSeconds, and that's where Tasks are IMO better suited.

[–] xilliah@beehaw.org 4 points 1 year ago

In unity you can call a lot of internal stuff using reflection.

[–] soulsource@discuss.tchncs.de 4 points 1 year ago

Unreal's Dynamic Delegates are very limited. If you don't need to expose delegates to Blueprint, use normal (non-dynamic) delegates instead. Not only are they faster, they have tons of features that are not available on dynamic delegates.