예제 #1
0
    public void ClearAllFollowers()
    {
        Game_Manager gm = GameObject.Find("Manager").GetComponent <Game_Manager>();

        //Debug.Log(nFollowers + " + " + gm.GetRetrieveAmount() + " = " + gm.GetTotalExisting());
        go = false;
        if (nFollowers + gm.GetRetrieveAmount() >= gm.GetTotalExisting())
        {
            go = true;
        }

        StartCoroutine(StartClearAllFollowers());
    }