private static void CreateDialog(CMD_ColosseumDeck.Mode targetMode)
        {
            CMD_ColosseumDeck cmd_ColosseumDeck = CMDWrapper.LoadPrefab <CMD_ColosseumDeck>("CMD_PartyEdit_PVP");

            cmd_ColosseumDeck.SetDialogData(targetMode);
            cmd_ColosseumDeck.Show();
        }
        public static void CreateDialog(GameObject parentDialog, PicturebookMonster monster)
        {
            CMD_PicturebookDetailedInfo cmd_PicturebookDetailedInfo = CMDWrapper.LoadPrefab <CMD_PicturebookDetailedInfo>("CMD_PictureBookDetailedInfo");

            cmd_PicturebookDetailedInfo.parentDialog = parentDialog;
            cmd_PicturebookDetailedInfo.viewInfo     = new PicturebookDetailedInfo(monster);
            cmd_PicturebookDetailedInfo.Show();
        }
Ejemplo n.º 3
0
        private static void SetDialog(GameObject parentDialog)
        {
            EvolutionDiagramData evolutionDiagramData = new EvolutionDiagramData();
            CMD_EvolutionDiagram cmd_EvolutionDiagram = CMDWrapper.LoadPrefab <CMD_EvolutionDiagram>("CMD_EvolutionDiagram");

            cmd_EvolutionDiagram.parentDialogGameObject = parentDialog;
            cmd_EvolutionDiagram.evolutionData          = evolutionDiagramData;
            cmd_EvolutionDiagram.Show();
        }
Ejemplo n.º 4
0
        public static void CreateDialog(GameObject parentDialog, EvolutionDiagramData.IconMonster monsterData)
        {
            EvolutionRouteMapData evolutionRouteMapData = new EvolutionRouteMapData();

            evolutionRouteMapData.SetSelectMonster(monsterData);
            CMD_EvolutionRouteMap cmd_EvolutionRouteMap = CMDWrapper.LoadPrefab <CMD_EvolutionRouteMap>("CMD_EvolutionRouteMap");

            cmd_EvolutionRouteMap.parentDialogGameObject = parentDialog;
            cmd_EvolutionRouteMap.routeMapData           = evolutionRouteMapData;
            cmd_EvolutionRouteMap.topButton.SetActive(null != parentDialog);
            cmd_EvolutionRouteMap.Show();
        }