Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

access autoload godot

var playerVariables = GetNode<PlayerVariables>("/root/PlayerVariables");
playerVariables.Health -= 10; // Instance field.
Source by docs.godotengine.org #
 
PREVIOUS NEXT
Tagged: #access #autoload #godot
ADD COMMENT
Topic
Name
4+5 =