Pārlūkot izejas kodu

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".
Sai Nane 1 gadu atpakaļ
vecāks
revīzija
f10b322c27

+ 1 - 1
tutorials/scripting/c_sharp/c_sharp_exports.rst

@@ -342,7 +342,7 @@ Therefore, if you specify a type derived from Resource such as:
     public AnimationNode AnimationNode { get; set; }
     public AnimationNode AnimationNode { get; set; }
 
 
 The drop-down menu will be limited to AnimationNode and all
 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`.
 see :ref:`doc_c_sharp_global_classes`.
 
 
 It must be noted that even if the script is not being run while in the
 It must be noted that even if the script is not being run while in the

+ 1 - 1
tutorials/scripting/gdscript/gdscript_exports.rst

@@ -242,7 +242,7 @@ Therefore, if you specify an extension of Resource such as:
     @export var resource: AnimationNode
     @export var resource: AnimationNode
 
 
 The drop-down menu will be limited to AnimationNode and all
 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
 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
 editor, the exported properties are still editable. This can be used