Ejemplo n.º 1
0
        public override void Initialize()
        {
            elos.Load();
            base.Initialize();
            RefreshExp();
            slot.callbacks.onAddBalance.AddListener(OnAddBalance);
            lastBalance = PlayerPrefs.GetInt(Constants.PLAYER_BALANCE);
            elos.bonusGame.gameObject.SetActive(false);
            buyButton.onClick.AddListener(TogglePayTable);
            _payTableButton.onClick.AddListener(TogglePayTable);
            _buyTableButton.onClick.AddListener(ToggleBuyTable);
            currentSpingNumber = 0;


            uiOn         = GetComponent <ElosUI>();
            uiOn.enabled = true;
        }
Ejemplo n.º 2
0
 private void Awake()
 {
     anotherScript = GetComponent <ElosUI>();
 }