public virtual void Init() { _buttonManager = this.GetComponent <ButtonManager> (); _lockItemHandler = this.GetComponent <LockItemHandler> (); if (null != _btnNext) { _btnNext.gameObject.SetActive(false); } CheckHideShop(); }
void Awake() { _lockItemHandler = GameObject.Find("UICanvas").GetComponent <LockItemHandler> (); }