Reply To: Custom Variable Type

NodeCanvas Forums Support Custom Variable Type Reply To: Custom Variable Type

#12729
Gavalakis
Keymaster

Hello,

Indeed, you only want to derive from the MonoBehaviour Unity type, only if you want to be able to attach the script as a component on a gameobject, otherwise you don’t really need to derive from MonoBehaviour, if for example you are creating pure data classes like in your example 🙂

Join us on Discord: https://discord.gg/97q2Rjh