#Custom Class in Visual scripting

1 messages · Page 1 of 1 (latest)

oblique flint
#

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 ?

fringe plume
oblique flint
#

Well I really don't know if I can, I learned that by myself a few days ago so I don't know everything.

fringe plume
#

Something like this then you assign the transform in the Graph?

oblique flint
#

i'll try

#

Wow it worked ! Thanks a lot ! Didn't think it was that easy 🙏