From 0b0bf25c016f7ed13a852f5b2f7da239c290f637 Mon Sep 17 00:00:00 2001 From: ChenX Date: Tue, 25 Feb 2020 15:45:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E4=BD=93=E7=BB=98=E5=88=B6=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/EntityDraw.code-snippets | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .vscode/EntityDraw.code-snippets diff --git a/.vscode/EntityDraw.code-snippets b/.vscode/EntityDraw.code-snippets new file mode 100644 index 000000000..5ed5cd25e --- /dev/null +++ b/.vscode/EntityDraw.code-snippets @@ -0,0 +1,19 @@ +{ + "实体绘制": { + "prefix": "draw", + "body": [ + "//#region Draw", + "InitDrawObject(renderType: RenderType = RenderType.Wireframe);", + "{", + " let obj = new Object3D();", + " return obj;", + "}", + "", + "UpdateDrawObject(type: RenderType, obj: Object3D);", + "{", + "}", + "//#endregion" + ], + "description": "实体绘制代码" + } +}