Unity example, including variance