modified: src/lib/templates.ts
This commit is contained in:
parent
4ac6c43992
commit
0fdaefdc8d
1 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
export function getTemplatesForPlatform(platform: PlatformId): ScriptTemplate[] {
|
||||||
|
return templates.filter(t => t.platform === platform);
|
||||||
|
}
|
||||||
import { PlatformId } from './platforms';
|
import { PlatformId } from './platforms';
|
||||||
import { uefnTemplates } from './templates-uefn';
|
import { uefnTemplates } from './templates-uefn';
|
||||||
import { spatialTemplates } from './templates-spatial';
|
import { spatialTemplates } from './templates-spatial';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue