Scripts and classes for Unity3d