Godot Version
4.3.1
Question
Hello,
I’m trying to access an autoload variable in a GDScript from a C# Script. I came across a bunch of posts about this issue, but unless I’m misunderstanding them, they aren’t actually accessing the global variable, and just recreating a new static class in C#.
Basically what I’m trying to do is,
autoload_script_1.gd →
extends Object
var global_var = 1
csharp_class.cs —>
Console.WriteLine(autoload_script_1.global_var);
autoload_script_1.global_var = 2
Is there a way to do this?