cleaned up legacy code
cleaned up legacy code

svenberra/NewtonUnityPlugin,svenberra/NewtonUnityPlugin,svenberra/NewtonUnityPlugin,svenberra/NewtonUnityPlugin,svenberra/NewtonUnityPlugin,svenberra/NewtonUnityPlugin,svenberra/NewtonUnityPlugin