// Update is called once per frame void Update() { if (_updatePause) { return; } if (_clearCondition.isClear()) { return; } if (_overCondition.isOver()) { return; } UpdateHint(); UpdateEntryBlock(); UpdateDropdown(); UpdateInput(); Update3Match(); }
// Update is called once per frame void Update() { if (fin) { return; } if (_overCondition.isOver()) { Finish(); fin = true; } if (type == GameOverCondition.OverType.MOVE) { GameOverCondition_Move move = (GameOverCondition_Move)_overCondition; _text.text = move._move.ToString(); } else if (type == GameOverCondition.OverType.TIME) { GameOverCondition_Time time = (GameOverCondition_Time)_overCondition; _text.text = ((int)time._time).ToString(); } }