5310人加入学习
(3人评价)
Unity2D 棋牌游戏案例-狼人杀面杀APP(基于FairyGUI)

制作完成于2018年3月19日,基于Unity2017.2

价格 ¥ 291.00
该课程属于 Unity - A计划(永久有效期) 请加入后再学习

完善UIManager

1.GameUIManager()

定义GameBasePanel

dayNightPanel,wolfPanel,guardPanel,witchPanel,prophetPanel,hunterPanel

完善任务链wolfPanel.SetNextPanel(witchPanel).SetNextPanel(prophetPanel).SetNextPanel(hunterPanel).SetNextPanel(defenderPanel).SetNextPanel(dayNightPanel).SetNextPanel(wolfPanel);

字典添加界面内容

UIPanelDict[UIPanelTypeWolfPanel].Show();

GameBasePanel firstPanel=UIPanelDict[UIPanelType.WolfPanel] as GameBasePanel;

firstPanel.EnterPanel();

firstPanel.HandleGameAcition(UIPanel.WolfPanel);

2.BasePanel()

ChangePanelCallBack(UIPanelType otherPanel)函数增加

if(uiManager.isGameUIManager){

GameBasePanel nextPanel=uiManager.UIPanelDict[otherPanel] as GameBasePanel;

nextPanel.HandleGameAction(otherPanel);}

[展开全文]

授课教师

SiKi学院老师

课程特色

视频(97)
下载资料(1)

学员动态

哄哄227 加入学习
CottonCandy 加入学习
LeaGem 加入学习
wskg 加入学习
血色星空 加入学习