Esempio n. 1
0
 public void OnFetchAllToysFailed(BitToys.FailReason reason, string mytext)
 {
     this.MyText.text += "OnFetchAllToysFailed" + "\n"; //clear text
     this.MyText.text += reason.ToString() + "\n";
     this.MyText.text += mytext + "\n";
     this.MyText.text += "\n **********************";
 }
Esempio n. 2
0
    public void OnGetToy_Fail(BitToys.FailReason reason, string mytext)
    {
        string text = "OnGetToy_Fail" + "\n"; //clear text

        text += reason.ToString() + "\n";
        text += mytext + "\n";
        text += "\n ******************************";
        WriteToErrorLog(text);
    }
Esempio n. 3
0
    public void OnClaimToy_Fail(BitToys.FailReason reason, string mytext)
    {
        string debugstring = "";

        debugstring += "OnClaimToy_Fail" + "\n"; //clear text
        debugstring += reason.ToString() + "\n";
        debugstring += mytext + "\n";
        debugstring += "\n ******************************";

        WriteToErrorLog(debugstring);
        //      UniClipboard.SetText(UniClipboard.GetText() + "\n" + System.DateTime.Now + " " + debugstring);

        ready2scan = false;
        // if (!ready2scan)
        //     return;

        // ready2scan = false;
        StartCoroutine(EnableReady2Scan());

        this.ScanCardFail.SetActive(true);
        //  this.leftScanParticles.gameObject.SetActive(false);
        // this.rightscanParticles.gameObject.SetActive(false);
    }
Esempio n. 4
0
 void OnFailToy(BitToys.FailReason reason, string texto)
 {
     userFeedback.text = texto;
     text.text         = reason.ToString();
 }