Beispiel #1
0
    public void OnClickButton()
    {
        int id = int.Parse(UIButton.current.name);

        for (int i = 0; i < mainData.Count; i++)
        {
            listGObj [i].transform.localScale = normalS;
            if (mainData [i].id == id)
            {
                listGObj [i].transform.localScale = bigS;
                webview.Load(mainData [i].url);
            }
        }
    }