Callbacks and function references in Godot 3 using FuncRefs

Published: 28 November 2021
on channel: The Shaggy Dev
9,311
380

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: https://github.com/theshaggydev/the-s...

Text post: https://shaggydev.com/2021/11/28/func...

Godot documentation: https://docs.godotengine.org/en/stabl...


Watch video Callbacks and function references in Godot 3 using FuncRefs online, duration hours minute second in high quality that is uploaded to the channel The Shaggy Dev 28 November 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 9,311 times and liked it 380 visitors.