123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import { _decorator, Component, Node } from 'cc';
- import { GameMng } from '../GameMng';
- import { UIButton } from '../gcommon/UIButton';
- import { UIManager } from '../gcommon/UIManager';
- const { ccclass, property } = _decorator;
- @ccclass('qijie_view')
- export class qijie_view extends Component {
- @property(Node)
- btn_haoyou: Node = null;
- @property(Node)
- btn_bangdan: Node = null;
- // @property(Node)
- // btn_qishe: Node = null;
- // @property(Node)
- // btn_bisai: Node = null;
- // @property(Node)
- // btn_zhibo: Node = null;
- // @property(Node)
- // btn_shipinkecheng: Node = null;
- // @property(Node)
- // btn_xinwenzixun: Node = null;
- // @property(Node)
- // btn_luntan: Node = null;
- start() {
- UIButton.BindClick(this.btn_haoyou,()=>{
- UIManager.AddPrefab(GameMng.Instance.friend_list_view)
- },this)
- UIButton.BindClick(this.btn_bangdan,()=>{
- UIManager.AddPrefab(GameMng.Instance.rank_view)
- },this)
- }
- update(deltaTime: number) {
-
- }
- }
|