Codeframework for Unity3d