what is "new inherited scene"?do it have function of copy Simply?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bgegg

Looks like that to me

:bust_in_silhouette: Reply From: kidscancode

No, it does not create a copy. It creates a new scene that inherits from another scene. Inheritance is a concept from object oriented programming. The new scene will contain all the same nodes as the original, but you can then add additional functionality. If you ever change the original scene, the inherited one will also update.

For examples of how this is used, see this tutorial: Godot 3.0: Inheritance · KCC Blog

thank you !! i understand it!!

bgegg | 2019-04-02 02:17