Пример #1
0
        //미션 시작
        void GateBallStart()
        {
            //todo..
            Debug.Log(TAG + "GateBallStart");
            UI.IDialog.RequestDialogExit <UI.AlertDialog>();

            int   tempPlayerNum      = inGameplayModel.PlayerNum;
            int   tempMissionChance  = playersModel.GetMissionChance(tempPlayerNum);
            Level tempLevel          = inGameplayModel.PlayLevel;
            int   tempTouchBallCount = touchBallSettingModel.GetBallCount(tempLevel);

            Vector3 tempVec3 = playersModel.GetMissionStartPosition(tempPlayerNum);
            Dictionary <int, Vector3> tempDicTouchBallNomalize = new Dictionary <int, Vector3>();

            for (int i = 0; i < tempTouchBallCount; i++)
            {
                if (playersModel.GetTouchBallAlive(tempPlayerNum, i))
                {
                    Vector3 tempNomalVec3 = NormalizationPosition(playersModel.GetTouchBallPosition(tempPlayerNum, i));
                    tempDicTouchBallNomalize.Add(i, tempNomalVec3);
                }
            }
            UI.IDialog.RequestDialogEnter <UI.MiniMapDialog>();
            Message.Send <SetMiniMapObjectMsg>(new SetMiniMapObjectMsg(playersModel.GetMissionModeNowMission(tempPlayerNum), dicMiniMapObject, NormalizationPosition(tempVec3), tempDicTouchBallNomalize, tempTouchBallCount));
        }
Пример #2
0
 //미션 시작
 void GateBallStart()
 {
     int     tempPlayerNum     = inGameplayModel.PlayerNum;
     int     tempMissionChance = playersModel.GetMissionChance(tempPlayerNum);
     Vector3 tempVec3          = playersModel.GetMissionStartPosition(tempPlayerNum);
 }