We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 427251f commit 0d169f8Copy full SHA for 0d169f8
snippets.json
@@ -301,5 +301,20 @@
301
"}"
302
],
303
"description": "Create a Unity DOTS component baker referencing another data source (i.e. mesh, gameObject, scriptable obj...)"
304
+ },
305
+ "Dots Create Aspect": {
306
+ "prefix": "dca",
307
+ "body": [
308
+ "using Unity.Entities;",
309
+ "",
310
+ "namespace ${1}",
311
+ "{",
312
+ "\treadonly partial struct ${2:$TM_FILENAME_BASE} : IAspect",
313
+ "\t{",
314
+ "\t\treadonly ${3|RefRW,RefRO|}<${4:Component}> ${4:ComponentName};${0}",
315
+ "\t}",
316
+ "}"
317
+ ],
318
+ "description": "Create a Unity DOTS aspect (used to group related components)"
319
}
320
0 commit comments