Notes on Unity

A collection of general generic Unity notes.

WebGL Apps

There’s a whole other page dedicated to musings of Unity WebGL apps here.

RectTransform Stuff

RectTransform
[Blog Post]
A deep-dive into the RectTransform and its member variables.

Top-Left RectTransform Origin
[Blog Post]
How to make UI elements based off the top-left, similar to traditional dialogs.

Misc

Multiple Inspectors Quick Tip
[Blog post]
Quick tip! Having multiple inspectors simultaneously open and viewing different objects.

Viewing The Real RectTransform Values
[Blog post]
The RectTransform inspector obfuscates its values, which attempt to make it easier to use as an inspector, but harder to view as a reference for RectTransform coding. This article covers viewing real RectTransform values.

Multiple Game Displays & Cave Displays
[Blog post]
Some notes on Cave displays in Unity, and having multiple Game tabs simultaneously open.

Unity FPS Counter
Some notes on metering the FPS performance of an app, and methods for smoothing the value.
[Blog post]

Coroutines and State Machines
Notes on the ever-enigmatic coroutine – and admonishing people who keep treating it like they’re multi-threaded!
[Blog post]