Documentation

Learn how to use NodeCanvas

Download PDF Version

Working with Custom Types

NodeCanvas is built to work with any type you might need. To depict this within the editor though, keeping it clean and not cluttered by the thousands of possible types available, a custom editor window called Preferred Types Editor exists, within which you can restrict the types that will be shown within various menus when working with NodeCanvas. Specificaly, the cases where this list will come into use, include:

  • Creating a Blackboard variable.
  • Working with generic nodes and tasks (T).
  • Working with the Script Control tasks when the agent is unknown.
  • Generating necessary files for AOT Platforms (WebGL, xBox, iOS)

Opening the Preferred Types Editor can be done through the “Window/NodeCanvas/Preferred Types Editor” unity top menu. As you will find out, there are a number of types already in the list by default, but feel free to modify the list however you see fit to your project.

PreferredTypes

Adding types in the list, can also be easily done by drag and dropping an object (like a component) or a script file in this editor window.

 

This editor and it’s use, is strictly an editor thing for faster workflow and has nothing to do with runtime.

Yes No Suggest edit
2 of 3 users found this section helpful
Suggest Edit