dd
This commit is contained in:
20
assets/script/game/common/Constants.ts
Normal file
20
assets/script/game/common/Constants.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
/** 游戏通用常量配置 */
|
||||
export const GameConstants = {
|
||||
/** Spine资源路径 */
|
||||
SPINE: {
|
||||
HERO: "game/heros/heros", // 英雄资源根目录
|
||||
// MONSTER: "game/heros/monster" // 怪物资源根目录
|
||||
},
|
||||
/** 英雄预制体路径 */
|
||||
HERO_PREFAB_PATH: "game/hero/prefabs/",
|
||||
/** 默认英雄缩放 */
|
||||
DEFAULT_SCALE: 1,
|
||||
/** 游戏层定义 */
|
||||
LAYERS: {
|
||||
HERO: 10,
|
||||
MONSTER: 20
|
||||
}
|
||||
} as const;
|
||||
|
||||
export const MONSTER_PREFAB_PATH = "game/monster/prefab/";
|
||||
export const SKILL_EFFECT_PATH = "game/effect/";
|
||||
9
assets/script/game/common/Constants.ts.meta
Normal file
9
assets/script/game/common/Constants.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "da1b1900-d741-411c-b677-c1eb7770897e",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
Reference in New Issue
Block a user