compsci_godot_albert/_subsections/sec03/lesson-06.org
2024-11-12 03:48:47 +02:00

895 B

Section 03 - Lesson 06 | Nodes and Inheritance

Notes

Godot is built around inheritance

The Godot Inspector shows the inheritance path and the properties at each level

For example, Node2D has the Transform property, this will show up in every class that inherits from Node2D

documentation

  • go to Script, then click on Search Help
  • from here you can check out any class

Node 2D has the position property.

types vs classes

  • a type is an instance of a class