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(); }
// 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); }
public void start(int t) { turn = t; type = GameBattleTurnType.User; }