Reply To: Prefered Types Editor Not Saving Certain Types

Forums 💬 NodeCanvas ⚙️ Support Prefered Types Editor Not Saving Certain Types Reply To: Prefered Types Editor Not Saving Certain Types

#19055
Gavalakis
Keymaster

    Hey,

    Yeah. There is some filtering done to the types added in the list. Basicaly if a type has no public methods or properties, it is filtered out from showing in the blackboard, but I’ve also noticed some other bug as well in the types editor window. It’s all fixed now, but here are some things you can do until the next release:

    1) Open up PreferedTypesEditorWindow.cs and change OnEnable to:

    This fixes the Editor window list from reseting.

    2) Open up UserTypePrefs.cs and at line #103, change the whole ‘if’ check to:

    This fixes the filtering done to also check for fields (instead of only methods/properties)

    Cheers!