Exemplo n.º 1
0
    private void Update()
    {
        if (m_goal.GetState())
        {
            m_isClear = true;
            GoalEffect();
            m_goal.SetDefault();
        }

        if (m_core.IsDead.Value && (ShunLib.ClearDirection.instance.isClear() == false))
        {
            m_isOver = true;
            m_core.Resurrection();
            AudioManager.Instance.Play("Dead");
        }

        GameClear();
        GameOver();
    }