技能移动修改
This commit is contained in:
@@ -24,9 +24,9 @@ export class MapSkillComp extends CCComp {
|
||||
}
|
||||
addSkill(uuid:number=1001){
|
||||
let csk =ecs.getEntity<CSkill>(CSkill);
|
||||
let camp = 1
|
||||
let pos = v3(BoxSet.CSKILL_X*-camp,BoxSet.CSKILL_Y)
|
||||
csk.load(pos,camp,uuid);
|
||||
let scale = 1
|
||||
let pos = v3(BoxSet.CSKILL_X*-scale,BoxSet.CSKILL_Y)
|
||||
csk.load(pos,scale,uuid);
|
||||
}
|
||||
doMonsterLoad(){
|
||||
// const light = instantiate(this.light);
|
||||
|
||||
Reference in New Issue
Block a user