public void InitSmallKeyUI() { _RefreshTextUI(); smallKeySystemStatic = smallKeySystem; smallKeySystem.OnDecrease += _RefreshSmallKey; smallKeySystem.OnIncrease += _RefreshSmallKey; }
private void Start() { _smallKey = transform.parent.transform.parent.transform.parent.transform.parent.GetComponent <Player>().Keys; smallKeySystem = new SmallKeySystem(_smallKey); InitSmallKeyUI(); }