AquaSphereMini.HUD.ProcessStoreEvent C# (CSharp) Method

ProcessStoreEvent() public method

Process store events
public ProcessStoreEvent ( string eventId, string data ) : void
eventId string
data string
return void
		public void ProcessStoreEvent(string eventId, string data)
		{
			switch(eventId)
			{
				case "CURRENCY_BALANCE_CHANGED":
					int balance = System.Convert.ToInt32(data);
					Debug.Log("<color=yellow>* STORE Balance:</color>"+balance);
					// UIText text = (UIText)GetObject("Balance");
					// text.Text = "Balance: " + balance.ToString();
					SetBalance(data);
					break;
			}
		}