소스 검색

Merge pull request #10832 from DeerUwU/patch-1

Fix Export Enum Example in c_sharp_exports.rst ( Line 458)
Matthew 6 달 전
부모
커밋
8343a181d5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tutorials/scripting/c_sharp/c_sharp_exports.rst

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

@@ -455,7 +455,7 @@ following as "Thing 1", "Thing 2", "Another Thing". The value will be stored as
     }
 
     [Export]
-    public MyEnum MyEnum { get; set; }
+    public MyEnum MyEnumCurrent { get; set; }
 
 Integer and string members can also be limited to a specific list of values using the
 ``[Export]`` annotation with the ``PropertyHint.Enum`` hint.