style: 移除无用调试日志注释并关闭任务卡牌调试模式
1. 移除SkillView.ts中多余的debugMode属性注释 2. 将MissionCardComp的默认调试模式改为关闭
This commit is contained in:
@@ -63,7 +63,7 @@ const { ccclass, property } = _decorator;
|
|||||||
@ecs.register('MissionCard', false)
|
@ecs.register('MissionCard', false)
|
||||||
export class MissionCardComp extends CCComp {
|
export class MissionCardComp extends CCComp {
|
||||||
/** 是否启用调试日志 */
|
/** 是否启用调试日志 */
|
||||||
private debugMode: boolean = true;
|
private debugMode: boolean = false;
|
||||||
/** 卡牌槽位宽度(像素),用于水平等距布局 */
|
/** 卡牌槽位宽度(像素),用于水平等距布局 */
|
||||||
private readonly cardWidth: number = 175;
|
private readonly cardWidth: number = 175;
|
||||||
/** 按钮正常缩放 */
|
/** 按钮正常缩放 */
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ export class SkillView extends CCComp {
|
|||||||
@property({ type: CCInteger })
|
@property({ type: CCInteger })
|
||||||
atk_y: number = 0
|
atk_y: number = 0
|
||||||
|
|
||||||
@property({ tooltip: "是否启用调试日志" })
|
|
||||||
private debugMode: boolean = false;
|
private debugMode: boolean = false;
|
||||||
|
|
||||||
anim:Animation=null;
|
anim:Animation=null;
|
||||||
|
|||||||
Reference in New Issue
Block a user