示例#1
0
    private void OnClick()
    {
        targetPopup.gameObject.SetActive(true);

        ToggleGrid toggle = targetTab.GetComponent <ToggleGrid>();

        if (toggle)
        {
            Debug.Log("fffffffffffffffffffffffffff");
            toggle.goldTab.value = true;
            toggle.OnGoldTab(null);
        }
    }