Пример #1
0
    //public List<GameObject> CardList = new List<GameObject> ();

    // Use this for initialization
    void Start()
    {
        //RefreshCardsNumber (1);
        if (GameObject.Find("DeckBuild-Canvas") != null)
        {
            CardsControllerComp = GameObject.Find("DeckBuild-Canvas").GetComponent <CardsBaseTableController> ();
            PanelButton.onClick.AddListener(OnClick);
        }
        this.GetComponent <ButtonLongPress> ().onLongPress.AddListener(OnLongPress);
    }