Пример #1
0
    public void OnMouseDown()
    {
        ButtonControl b = GameObject.Find("ButtonInspector").GetComponent <ButtonControl>();

        b.funckCallUpdate(UpLevel);
        b.funckCallDestroy(null);
        b.PanelsButton1.SetActive(true);
        b.CorectTextUpdate(Price);
        WriteInform();
    }