File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -87,18 +87,13 @@ This means that any node can access a singleton named "PlayerVariables" with:
8787 playerVariables.Health -= 10; // Instance field.
8888
8989If the **Enable ** column is checked (which is the default), then the singleton can
90- be accessed directly without requiring ``get_node() ``:
90+ be accessed directly in GDScript, without requiring ``get_node() ``:
9191
9292.. tabs ::
9393 .. code-tab :: gdscript GDScript
9494
9595 PlayerVariables.health -= 10
9696
97- .. code-tab :: csharp
98-
99- // Static members can be accessed by using the class name.
100- PlayerVariables.Health -= 10;
101-
10297Note that autoload objects (scripts and/or scenes) are accessed just like any
10398other node in the scene tree. In fact, if you look at the running scene tree,
10499you'll see the autoloaded nodes appear:
You can’t perform that action at this time.
0 commit comments