ScriptBoilerplate.cs 570 B

123456789101112131415161718192021222324252627282930313233
  1. using Godot;
  2. public partial class ScriptBoilerplate : Node
  3. {
  4. private NodePath _nodePath;
  5. private int _velocity;
  6. public override void _Process(double delta)
  7. {
  8. _ = delta;
  9. base._Process(delta);
  10. }
  11. public int Bazz(StringName name)
  12. {
  13. _ = name;
  14. return 1;
  15. }
  16. public void IgnoreThisMethodWithByRefParams(ref int a)
  17. {
  18. _ = a;
  19. }
  20. }
  21. partial struct OuterClass
  22. {
  23. public partial class NestedClass : RefCounted
  24. {
  25. public override Variant _Get(StringName property) => default;
  26. }
  27. }