utility scripts for Unity 3D