Add support for Compass Navigator Pro with this plugin.
This plugin adds support for saving Compass Navigator Pro points of interest states with ORK Framework save games and new event nodes.
The plugin is available for free, the latest version is 1.0.0.
Download Plugin
Adding the Plugin
Before importing the plugin into your Unity® project, make sure you’ve got ORK Framework and Compass Navigator Pro imported in it. You’ll need at least ORK Framework 2.14.2 and Compass Navigator Pro 2.0.1 to support the plugin.
The plugin will be imported into Assets/ORK Framework/Plugins/, but you can move it to a different location if you want.
Adding to ORK Framework
To add the plugin to ORK Framework, open the ORK editor and navigate to Editor > Plugins. Either add a new plugin or change an existing one (e.g. if you haven’t added a plugin yet, you can edit the default plugin).
- Plugin Name
Set to Compass Navigator Pro.
You can also use a different name – this is only for displaying it in the ORK editor.
- Is Script File
Enable this setting.
- NameSpace
Set to ORKFramework.CompassNavigatorPro.
Click on Load Plugin to load the plugin with the defind settings.
- Use Scene Load
Enable this setting.
Compass Navigator Pro
The plugin offers the following settings:
- Save POIs
Enable this setting to save the state of points of interests with ORK save games.
- Hide During Scene Change
The Compass Navigator Pro UI will be faded out and in during ORK scene changes.
- Fade Out Duration
The time used to fade out the UI when changing scenes.
- Fade In Duration
The time used to fade in the UI when changing scenes.
Event Nodes
The plugin adds multiple new event nodes. They can be found in UI > Compass Navigator Pro when adding a new node.
- CNP Fade In
Fades in the Compass Navigator Pro UI.
- CNP Fade Out
Fades out the Compass Navigator Pro UI.
- CNP Focus POI
Makes a point of interest the principal POI.
- CNP Blur POI
Cancels focusing a point of interest.
- CNP Show Beacon
Activates a light beacon on a defined point of interest or all unvisited POIs.
- CNP Show Text
Triggers CNP text appearing animation with a custom text.
- CNP Clear POI States
Removes all point of interest states stored by ORK Framework.
- CNP Visit POI
Sets a point of interest to be visited or unvisited.