Esempio n. 1
0
    public void InitSmallKeyUI()
    {
        _RefreshTextUI();
        smallKeySystemStatic = smallKeySystem;

        smallKeySystem.OnDecrease += _RefreshSmallKey;
        smallKeySystem.OnIncrease += _RefreshSmallKey;
    }
Esempio n. 2
0
 private void Start()
 {
     _smallKey      = transform.parent.transform.parent.transform.parent.transform.parent.GetComponent <Player>().Keys;
     smallKeySystem = new SmallKeySystem(_smallKey);
     InitSmallKeyUI();
 }