Access Nodes in Godot | Godot Beginner Tips

preview_player
Показать описание
More Godot High Level Tips for Unity Devs. Some general nodes tips plus ways to access nodes.

Wishlist my game Radiant Bricks on Steam:

Gear Links
==================================

==================================

DISCLAIMER: This video and description may contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps supports the channel and allows us to continue to make videos like this. Thank you for your support!

0:00 Intro
0:30 Nodes hierarchy
3:10 Access nodes in code
Рекомендации по теме
Комментарии
Автор

Flat Node Hierarchy:
Advantages: Simplicity, Performance, Accessibility, Interactivity
Suitable for: Less complex scenes, straightforward organization, smaller projects

Multilayer Node Hierarchy:
Advantages: Complexity and Organization, Reusability, Inheritance, Grouping
Suitable for: Complex scenes, hierarchical organization, component reuse, inheritance, grouping-related objects

wartem
Автор

Something nice you can do, at the expense of typing a bit more and setting the path in the exports sidebar. If you do this, Godot will keep track of nodes being moved around in the hierarchy.

@export var CardMenuPath : NodePath
@onready var card_menu = get_node(CardMenuPath)

TheCastleBravo