How to use setter and getter functions in Godot 4

Опубликовано: 28 Сентябрь 2022
на канале: The Shaggy Dev
26,348
796

Setter and getter functions let you run custom logic when a variable to written to or read from. There have been some minor changes in how this works in Godot 4, so let's look at the new syntax and how it differs from Godot 3.

Text version of this content: https://shaggydev.com/2022/09/27/godo...

Sample project: https://github.com/theshaggydev/the-s...


Смотрите видео How to use setter and getter functions in Godot 4 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал The Shaggy Dev 28 Сентябрь 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 26,348 раз и оно понравилось 796 посетителям.