소스 검색

add missing annotation prefix

Hana - Piralein 2 년 전
부모
커밋
e598653d4a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tutorials/best_practices/godot_interfaces.rst

+ 1 - 1
tutorials/best_practices/godot_interfaces.rst

@@ -58,7 +58,7 @@ access.
     @export var script_type: Script
 
     # Must configure from the editor, defaults to null.
-    export var const_script: Script:
+    @export var const_script: Script:
         set(value):
             if Engine.is_editor_hint():
                 const_script = value