How can I script in UE VR project?

The C++ Classes category only shows classes that are accessible from the editor, eg. actors and components. It will be hidden if you don’t have any. Other classes have to be accessed from Visual Studio.