Basic Unity3d editor scripting code