Link between Unity-VS2012

Does anyone know if a Unity methods developed can be used in VS?
For example, if I create a method to rotate a cube in Unity, I can use WPF to rotate my cube?

You can integrate a socket server on your Unity Executable, and connect to it from your WPF code to control whatever you need.