示例#1
0
    static public void StopAllOfType(DisasterType _type)
    {
        foreach (Disaster d in m_disasterInstances)
        {
            if (d.m_type == _type)
            {
                d.StopEffect();
            }
        }

        if (!AnyActive())
        {
            GameObject.FindObjectOfType<Orbit>().finishDay();
        }
    }