瀏覽代碼

Add `_physics_process` snippet (#411)

kemgoblin 3 年之前
父節點
當前提交
b3f4dda47e
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      configurations/snippets.json

+ 8 - 0
configurations/snippets.json

@@ -37,6 +37,14 @@
       "\t${1:pass}"
     ]
 	},
+	
+	"_physics_process method of Node": {
+		"prefix": "physics",
+		"body": [
+      "func _physics_process(delta):",
+      "\t${1:pass}"
+    ]
+	},
 
 	"_input method of Node": {
 		"prefix": "input",