|
@@ -421,7 +421,7 @@ export class car extends Component {
|
|
public setDisDir(dis:number){
|
|
public setDisDir(dis:number){
|
|
this.speed_bei = dis / 10
|
|
this.speed_bei = dis / 10
|
|
if(this.speed_bei>5){
|
|
if(this.speed_bei>5){
|
|
- dis+=dis*0.8
|
|
|
|
|
|
+ dis*=1.8
|
|
if(userDataManager.user_car_list.default_car_id==1){
|
|
if(userDataManager.user_car_list.default_car_id==1){
|
|
audioManager.Instance().playSound(config.AUDIO.zi_xing_che_sha_che)
|
|
audioManager.Instance().playSound(config.AUDIO.zi_xing_che_sha_che)
|
|
}else{
|
|
}else{
|