|
@@ -10,7 +10,7 @@ import { tgxUIMgr } from '../../core_tgx/tgx';
|
|
|
import { UI_BattleResult } from '../../scripts/UIDef';
|
|
|
import { LevelManager } from './Manager/LevelMgr';
|
|
|
import { CarBoxComponent } from './Components/CarBoxComponent';
|
|
|
-import { CarColors, CarTypes } from './CarColorsGlobalTypes';
|
|
|
+import { CarColorLog, CarColors, CarTypes } from './CarColorsGlobalTypes';
|
|
|
import { GameUtil } from './GameUtil';
|
|
|
const { ccclass, property } = _decorator;
|
|
|
|
|
@@ -295,7 +295,7 @@ export class LevelAction extends Component {
|
|
|
if (selectedCar !== null) {
|
|
|
const pin_color = pinCom.pin_color
|
|
|
CarColorsGlobalInstance.instance.carSysterm.removeColorFromSeats(pin_color)
|
|
|
-
|
|
|
+ console.log(`上车钉子:${CarColorLog[pinCom.pin_color]}`);
|
|
|
if (selectedCar.getComponent(CarCarColorsComponent).addRole(pinCom.node)) {
|
|
|
selectedCar.setParent(find("Canvas/Scene/Levels"), true);
|
|
|
}
|