Reply To: Shared Preferred Types

NodeCanvas Forums General Discussion Shared Preferred Types Reply To: Shared Preferred Types

#11910
bglanzer
Participant

Yes, the exporting/importing works fine and I think that’s what our workflow was before. I added the automation because developers would often times forget to export when they added new types. It also removed the need to always have to import when new types were added. It seems to be pretty popular with other teams that use node canvas as well, when they hear about it they often times ask for the code to implement it themselves.

I actually use the same functionality for the automation, just before I the typeList is created in OnEnable I load in the shared file and add the types. I then just added a function to export types to the file when save is called.

I think a useful option be be auto export/import and you can specify the directory/filename, which could be saved to editor prefs, that way its a one time setup for useful automation option.

Thanks