Learn data wrangling, analysis and visualization with my book Data Wrangling with JavaScript!

Threads, promises and Unity

Are you interested in using threads with Unity? Wondering what promises, if anything, have to do with threads? In this post I answer an interesting question from Morgan Moon of Cerebus Interactive about the C# promise library, threads and Unity. I’ve been wanting to talk about threads for a while, so let’s get into it.

»

Ashley Davis Ashley Davis

Dependency injection for Unity - Part 1: About dependency injection

Have you ever struggled to keep a game or application working as it evolves and as the complexity ramps up? Software is composed of a suite of interacting components that are wired together in a particular way. As the number of interacting components grows the wiring and the number of connections between components grows exponentially (a phenomenon known as Metcalfe’s law).

»

Ashley Davis Ashley Davis

Scene query recipes for Unity

There are times when you need to search the Unity hierarchy for particular game objects. Often you need to find them by name, tag or component type. I have found that on occasion I’ve wanted to wanted a more expressive and flexible way of finding game objects. Some years ago when I was attempting to improve my skills in CSS hackery I made an important connection.

»

Ashley Davis Ashley Davis

Unity and DLLs

In my previous article I talked about Unity and Visual Studio: using Visual Studio to edit and maintain your Unity code. In that article I talked about working with source code directly in your Unity project.

»

Ashley Davis Ashley Davis

The Dispatcher Pattern

The dispatcher pattern is a method for scheduling (or dispatching) code for execution from a worker-thread to the main-thread.

»

Ashley Davis Ashley Davis

IL2CPP

A brief summary.

»

Ashley Davis Ashley Davis

About

The computing scientist’s main challenge is not to get confused by the complexities of his own making. ‘ E. W. Dijkstra

»

Ashley Davis Ashley Davis