Example #1
0
    public void nextTurn()
    {
        if (Pause)
        {
            return;
        }

        GameBattleCursor.instance.unShow();

        if (type == GameBattleTurnType.User)
        {
            type = GameBattleTurnType.Enemy;
        }
        else
        {
            turn++;
            type = GameBattleTurnType.User;
            GameUserData.instance.TurnCountAll++;

            GameBattleJudgment.instance.Proficiency13 = 0;
        }

        GameBattleUnitManager.instance.doActed(showAnimation);

        Resources.UnloadUnusedAssets();
    }
Example #2
0
//     private void Start()
//     {
//         RectTransform trans = GetComponent<RectTransform>();
//         trans.anchoredPosition = new Vector2( trans.anchoredPosition.x + GameCameraManager.instance.xOffset ,
//             trans.anchoredPosition.y );
//     }

    public void start()
    {
        turn = 1;
        type = GameBattleTurnType.User;

        GameBattleUnitManager.instance.showUnits(0);

        checkEvent(GameBattleTurnEventType.Start, onEventStartOver);
    }
Example #3
0
 public void start(int t)
 {
     turn = t;
     type = GameBattleTurnType.User;
 }