Hello, I am having a bit of a meltdown on a project of mine. I am creating custom classes in C# that will help me with some managers ( I have a bit of knowledge in C# but not to much for me to code a game using only that ). Until now I had no issue creating and using them in visual scripting. Right now, I want a custom class, that makes different function such as changing position or rotation. But to do that I have to inherit "monobehaviour" and when i do i can't access my variables in the blackboard and it want to define it a variable. How can I resolve this issue ?
#Custom Class in Visual scripting
1 messages · Page 1 of 1 (latest)
I don't think this is possible Visual Scripting will prioritize the MonoBehaviour inspector over your custom ones. Are you not able to make another field for the transform and make it inspectable then use that new field to set its position/rotation instead of using Monobehaviour to access the transform directly?
Well I really don't know if I can, I learned that by myself a few days ago so I don't know everything.
Something like this then you assign the transform in the Graph?