Is Vector3.one slow in Unity?

These days you can find a lot of articles giving advice on performance and optimisation. I like testing these little bits of knowledge with little Unity projects on various platforms. Sometimes I get interesting results. This post is about one of them, and I still don't understand the results I got…

Opening links in a Unity WebGL project

The heart of HTML pages are links which can be opened either in the same window/tab or in a popup window/tab. Turns out that it's not that simple with a Unity WebGL project precisely because of one of the browser's security mechanisms…

Optimize for readability first

Developers spend most of their productive time reading code, not writing it: debugging, checking commits, etc. While doing this developers essentially work as (not so good actually) interpreters — executing code in their head while trying to keep in mind the current state of execution.…

Interesting things in Unity 4.5 you probably didn't know about

Well, as you all know Unity team has recently released Unity version 4.5 which brought us (according to Unity's web site): Over 450 bug fixes, OpenGL ES 3.0, Shader workflow boost, Smooth and natural 2D physics and Sparse Textures. While 450 bugs fixed sounds amazing, shaders compilation was…

Prolog for Mac

Let's assume that you need to set up Prolog for OS X. If you are still here let's continue. After reading some book from 80s about Prolog I found that language to be interesting and I decided to write some simple things in it. But I had to install it…

Should you use Playmaker in production?

So, should you use Playmaker in production? Short answer is: Long answer follows. Playmaker Playmaker is a visual scripting tool for Unity. It has been a top-selling asset in the Asset Store for a couple of years. Learning environment I get invited to host Unity workshops from time to time.…