public void OnDraw(VpMachine.DrawEventArgs e) { if (e.HandResults.Length > HandIndex) { SetActivePayline(e.HandResults[HandIndex]); } }
public void OnDraw(VpMachine.DrawEventArgs e) { for (var i = 0; i < 5; i++) { HoldSprites[i].SetActive(e.CorrectHolds[i]); } }
public void OnDraw(VpMachine.DrawEventArgs e) { if (e.HandResults.Length > HandIndex) { for (var i = 0; i < 5; i++) { Cards[i].GetComponent <Card>().SetCard(e.HandResults[HandIndex].Hand[i]); } } }
public void OnDraw(VpMachine.DrawEventArgs e) { var hits = e.HandResults.Where(r => r.PayLineHit == PayLine).ToList(); if (hits.Count > 0) { Payout.GetComponent <Text>().text = hits[0].Payout.ToString(); Hits.GetComponent <Text>().text = hits.Count.ToString(); gameObject.SetActive(true); } }
public void OnDraw(VpMachine.DrawEventArgs e) { DealSprite.SetActive(true); DrawSprite.SetActive(false); }
public void OnDraw(VpMachine.DrawEventArgs e) { SetActivePayline(e.MainHandResult); }
// Update is called once per frame void OnDraw(VpMachine.DrawEventArgs e) { GetComponent <Text>().text = VpMachine.statistics.AvgHandLength.ToString("0.00"); }
// Update is called once per frame void OnDraw(VpMachine.DrawEventArgs e) { GetComponent <Text>().text = VpMachine.statistics.MistakesMade.ToString(); }
// Update is called once per frame void OnDraw(VpMachine.DrawEventArgs e) { GetComponent <Text>().text = e.AmountWon.ToString(); }