浏览代码

[Input] Fix incorrect setter usage in C#

A Thousand Ships 1 年之前
父节点
当前提交
c3e08bd874
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/inputs/handling_quit_requests.rst

+ 1 - 1
tutorials/inputs/handling_quit_requests.rst

@@ -60,7 +60,7 @@ procedure:
 
  .. code-tab:: csharp
 
-    GetTree().SetAutoAcceptQuit(false);
+    GetTree().AutoAcceptQuit = false;
 
 Sending your own quit notification
 ----------------------------------