Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 1x 1x | /**
* Runtime identifiers
*/
export const RuntimeIdentifiers = Object.freeze({
COCOS_CREATOR_V1: ['cc1', 'cocos1', 'cocoscreator1'],
COCOS_CREATOR_V2: ['cc', 'cc2', 'cocos', 'cocos2', 'cocoscreator', 'cocoscreator2'],
UNITY: ['unity']
});
/**
* Help text for CLI
*/
export const CliHelptext = `Usage:
set environment variable as below, then execute lib/index.js with node
required:
RUNTIME runtime identifier, currently supports only 'cc'
ASSET_ROOT root directory for assets
SCENE_FILE exporting scene file
optional:
DEST destination directory; default './scene-graph'
ASSET_NAME_SPACE asset directory name; default 'assets'
ASSET_DEST asset destination directory; default \${DEST}/\${ASSET_NAME_SPACE}
PLUGINS space separated plugin names; default '',
e.g;
RUNTIME=cc ASSET_ROOT=path/to/asset SCENE_FILE=path/to/scene PLUGINS='plugin1 plugin2' sgmed
`;
|