Example #1
0
 /// <summary>
 /// Use for constructor-like stuff.
 /// </summary>
 void Start()
 {
     //this registers a custom menu with the RPM version of VesselView
     VViewCustomMenusMenu.registerMenu(createMenu);
     //this registers a display mode with the plugin version
     VesselView.VesselViewPlugin.registerCustomMode(setup());
     //this is also the place to do any other init you might want
     gradient = VesselViewer.genColorGradient(256);
 }
Example #2
0
 /// <summary>
 /// Use for constructor-like stuff.
 /// </summary>
 void Start()
 {
     VViewCustomMenusMenu.registerMenu(createMenu);
     //VesselViewPlugin.registerCustomMode(setup());
 }