设置页、弹窗逻辑、跳转逻辑
视频播放逻辑优化
This commit is contained in:
@@ -25,6 +25,7 @@ export class ImagePopup extends Component {
|
||||
start() {
|
||||
this.node.setPosition(new Vec3(-1500, 493, 0));
|
||||
GButton.BandClick(this.image.node, this.openImage, this);
|
||||
this.node.active = false;
|
||||
}
|
||||
|
||||
onDestroy() {
|
||||
@@ -36,6 +37,7 @@ export class ImagePopup extends Component {
|
||||
resId: number;
|
||||
//url: string;
|
||||
refresh(categoryId: string, girlId: number, resId: number, clear = false) {
|
||||
this.node.active = true;
|
||||
const girlData = DataManager.I.getDataById<GirlData>(DataId.Girl);
|
||||
this.categoryId = categoryId;
|
||||
this.girlId = girlId;
|
||||
|
||||
Reference in New Issue
Block a user