Example #1
0
    public void Capture()
    {
        if (!isValidArea)
        {
            return;
        }

        GameManager.instance.ui.SetActive_ALL(false);
        if (GetComponent <LineRenderer>() != null &&
            GetComponent <LineRenderer>().enabled == true)
        {
            GetComponent <LineRenderer>().enabled = false;
        }
        background.ClearPlaneSport();

        StartCoroutine(background.Captutre(CaptureArea, Wall_Ratio));
    }