How to create unity visual scripting variable by c#

Hi. I created a script that creates an object and then add the variables component to it. Then I want to add some variable to this component but I don’t know how. please help

This may help: Variables node | Visual Scripting | 1.7.8

Gotta admit, i don’t quite understand the question

Use the Variables API: Variables node | Visual Scripting | 1.7.8

1 Like

neat