public void SetGuid(string s) { if (sserial == null) { sserial = new ReaderSerialScript(); } sserial.SetSerial(s); }
// Use this for initialization void Start() { row0 = transform.Find("ImageUploadPanel/Content/Row0"); displayImage = transform.Find("ImageUploadPanel/Content/Row0/WithImage/ImageGoesHere").GetComponent <Image>(); ds = GameObject.Find("GaudyBG").GetComponent <ReaderDataScript>(); sserial = new ReaderSerialScript(); }
// Use this for initialization void Start() { /*if (tm != null) { * return; * }*/ if (tm == null) { tm = GameObject.Find("GaudyBG").GetComponent <ReaderTabManager>(); if (sserial == null) { sserial = new ReaderSerialScript(); } Toggle t; if ((t = transform.parent.GetComponentInChildren <Toggle>()) != null) { if (t.isOn) { isPatientImage = true; } } } //LoadData(GetGuid()); }