mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 21:29:07 +00:00
Merge pull request #7299 from Ubiguchi/patch-1
This commit is contained in:
@@ -11,8 +11,8 @@ declarative code.
|
||||
|
||||
Each system's capabilities are different as a result.
|
||||
Scenes can define how an extended class initializes, but not what its
|
||||
behavior actually is. Scenes are often used in conjunction with a script so
|
||||
that the scene acts as an extension of the scripts declarative code.
|
||||
behavior actually is. Scenes are often used in conjunction with a script,
|
||||
the scene declaring a composition of nodes, and the script adding behaviour with imperative code.
|
||||
|
||||
Anonymous types
|
||||
---------------
|
||||
|
||||
@@ -54,8 +54,8 @@ The behavior of scenes has many similarities to classes, so it can make sense to
|
||||
a class. Scenes are reusable, instantiable, and inheritable groups of nodes. Creating a scene is
|
||||
similar to having a script that creates nodes and adds them as children using ``add_child()``.
|
||||
|
||||
We often pair a scene with a scripted root node that makes use of the scene's nodes. As such, the
|
||||
scene is often an extension of the script's declarative code.
|
||||
We often pair a scene with a scripted root node that makes use of the scene's nodes. As such,
|
||||
the script extends the scene by adding behavior through imperative code.
|
||||
|
||||
The content of a scene helps to define:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user