Delta Time Example

Recently I had a project that required me to use Unity and I liked how the deltaTime was built in. I’ve been using elapsed time in a lot of code from Flash to Phaser, but it occurred to me that developers that were moving between Unity and Phaser might be looking for a way to get the Delta or elapsed time between two different events. In this simple example, I use the “pointerdown” event to show time between clicks. You can find the blog post here