0
Answered
NeedsLoomis 2 months ago • updated by agan 6 days ago 3

Is there a proper way to work with classes that don't inherit from MonoBahaviour?  I noticed they don't show up in the fuzzy finder.  Right now my workaround is to use MonoBehaviour, create the unit, then remove MonoBehaviour, which works fine but is a little kludgey.


For more info on my case, I have a list that is populated via a custom class.  I expose that class in Bolt to make changes or get info from the list, but it's cleaner without mono (no transforms and other stuff I don't need).

Answered

Have a look at this article from the tutorial: Custom Types.

http://support.ludiq.io/topics/223-custom-types/

You only need to add your custom non-MonoBehaviour type to the Type Options parameter.