mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Fix description of typed resource exports
`AnimationNode`'s inherited classes are `Resource`, `RefCounted`, and `Object`. I assume it meant to say "derived classes", or something along the lines of "and all classes which inherit it".
This commit is contained in:
@@ -342,7 +342,7 @@ Therefore, if you specify a type derived from Resource such as:
|
||||
public AnimationNode AnimationNode { get; set; }
|
||||
|
||||
The drop-down menu will be limited to AnimationNode and all
|
||||
its inherited classes. Custom resource classes can also be used,
|
||||
its derived classes. Custom resource classes can also be used,
|
||||
see :ref:`doc_c_sharp_global_classes`.
|
||||
|
||||
It must be noted that even if the script is not being run while in the
|
||||
|
||||
@@ -242,7 +242,7 @@ Therefore, if you specify an extension of Resource such as:
|
||||
@export var resource: AnimationNode
|
||||
|
||||
The drop-down menu will be limited to AnimationNode and all
|
||||
its inherited classes.
|
||||
its derived classes.
|
||||
|
||||
It must be noted that even if the script is not being run while in the
|
||||
editor, the exported properties are still editable. This can be used
|
||||
|
||||
Reference in New Issue
Block a user