Beispiel #1
0
    public bool isPlayEnd()
    {
        if (this.numOfConsume >= game_root.getGoalConsumeCount())
        {
            GameData.Instance.isWin = true;
            return(true);
        }

        return(this.transform.position.y < NARAKU_HEIGHT || hp <= 0);
    }