소스 검색

Formatting

Vlad Protsenko 6 년 전
부모
커밋
f2c513357f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      docs/en/manuals/editor-scripts.md

+ 2 - 1
docs/en/manuals/editor-scripts.md

@@ -45,9 +45,10 @@ You can interact with the editor using `editor` package that defines this API:
     - numbers (read and write)
     - vec2/vec3/vec4 properties (read and write)
     - resources (read only)
+    
     Please note that some of these properties might be read-only, and some might be unavailable in different contexts, so you should use `editor.can_get` before reading them and `editor.can_set` before making editor set them. Hover over property name in Properties view to see a tooltip with information about how this property is named in editor scripts.
 - `editor.can_get(node_id, property)` — check if you can get this property so `editor.get()` won't throw an error
-- `editor.can_set(node_id, property)` — check if `"set"` command with this property won't throw an error
+- `editor.can_set(node_id, property)` — check if `"set"` action with this property won't throw an error
 
 ## Commands