Drawers in NodeCanvas are different than Drawers used in Unity by default and as such it is not possible to draw a Unity made (with Unity API) drawer within the NodeCanvas drawers. As such, the class GUI will need to be coded in the NodeCanvas custom ObjectDrawer OnGUI. Within the ObjectDrawer OnGUI method you can use any Unity Editor API you’d like to create a custom GUI for the LocalisedString (or any other class you’d like). But once again, because the drawers in NodeCanvas and the drawers in Unity are different systems (they have to be vbecause they use a different serialization system), it is not possible to draw Unity-made drawers within NodeCanvas drawers.
Please let me know if that clarifies your question.
Thank you!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.