|
@@ -14,6 +14,7 @@ import { game_health_view } from './game_health_view/game_health_view';
|
|
import { zb_login_view } from './zb_login_view/zb_login_view';
|
|
import { zb_login_view } from './zb_login_view/zb_login_view';
|
|
import { scene_page } from './scene_page';
|
|
import { scene_page } from './scene_page';
|
|
import { tools } from '../tools';
|
|
import { tools } from '../tools';
|
|
|
|
+import { unLock_long_story_view } from './unLock_long_story_view/unLock_long_story_view';
|
|
const { ccclass, property } = _decorator;
|
|
const { ccclass, property } = _decorator;
|
|
|
|
|
|
@ccclass('game_run')
|
|
@ccclass('game_run')
|
|
@@ -31,6 +32,7 @@ export class game_run extends Component {
|
|
@property(Node) loading_level:Node = null;
|
|
@property(Node) loading_level:Node = null;
|
|
@property(Node) check_open:Node = null;
|
|
@property(Node) check_open:Node = null;
|
|
@property(Node) unLock_view:Node = null;
|
|
@property(Node) unLock_view:Node = null;
|
|
|
|
+ @property(Node) unLock_long_story_view:Node = null;
|
|
@property(Node) zb_login_view:Node = null;
|
|
@property(Node) zb_login_view:Node = null;
|
|
@property(Node) top_floor_layer:Node = null;
|
|
@property(Node) top_floor_layer:Node = null;
|
|
@property(gameManager) mGameManger:gameManager = null;
|
|
@property(gameManager) mGameManger:gameManager = null;
|
|
@@ -63,6 +65,10 @@ export class game_run extends Component {
|
|
this.unLock_view.getComponent(unLock_view).show(lock_one_call,lock_all_one_day)
|
|
this.unLock_view.getComponent(unLock_view).show(lock_one_call,lock_all_one_day)
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public showUnLockLongStoryView(lock_one_call) {
|
|
|
|
+ this.unLock_long_story_view.getComponent(unLock_long_story_view).show(lock_one_call)
|
|
|
|
+ }
|
|
|
|
+
|
|
public runAll(){
|
|
public runAll(){
|
|
if(this.node.active==false) {
|
|
if(this.node.active==false) {
|
|
this.node.active = true
|
|
this.node.active = true
|