ddd
This commit is contained in:
@@ -28,13 +28,7 @@ export class RoleViewComp extends CCComp {
|
||||
this.charactor = this.getComponent(Charactor);
|
||||
}
|
||||
|
||||
/**
|
||||
* 摇杆移动
|
||||
* @param dir 移动方向
|
||||
*/
|
||||
runJoystick(dir: Vec3) {
|
||||
this.charactor.joystick(dir);
|
||||
}
|
||||
|
||||
|
||||
reset() {
|
||||
this.node.destroy();
|
||||
|
||||
Reference in New Issue
Block a user