@TheShaggyDev
  @TheShaggyDev
The Shaggy Dev | Callbacks and function references in Godot 3 using FuncRefs @TheShaggyDev | Uploaded November 2021 | Updated October 2024, 3 hours ago.
While functions are not first-class objects in Godot, FuncRefs can help replace some of that missing functionality. Using the built-in funcref() function, we can create objects that maintain a reference to and can call a selected function anywhere in our code.

Intro and first-class functions: 00:00
Funcref overview: 01:31
Sample project: 02:10

Source code: github.com/theshaggydev/the-shaggy-dev-projects/tree/main/projects/godot-3/funcref

Text post: shaggydev.com/2021/11/28/funcref

Godot documentation: docs.godotengine.org/en/stable/classes/class_funcref.html
Callbacks and function references in Godot 3 using FuncRefsCome join the Discord!How to use the microphone in Godot 3Making a dev console in GodotGodots OS ClassStarter state machines in Godot 4Kaiju Klash announcement5 quick tips for GDScript5 more quick GDScript tipsMaking an atmospheric incremental game in Godot in 9 daysGenerative grammars as a form of procedural content generationProgramming a tactical strategy game in Godot 4

Callbacks and function references in Godot 3 using FuncRefs @TheShaggyDev

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER