基础技能完善
This commit is contained in:
@@ -36,7 +36,7 @@ export class Skill extends ecs.Entity {
|
||||
node.setScale(scale,1)
|
||||
//转换pos为世界坐标
|
||||
node.setPosition(pos)
|
||||
|
||||
console.log(speed)
|
||||
var sv = node.getComponent(SkillCom)!;
|
||||
sv.speed = speed;
|
||||
sv.dis = dis;
|
||||
|
||||
Reference in New Issue
Block a user