private void Update() { string lastresult = this.Lastresult; if (lastresult != null) { Color32[] pixels = BarcodeCam.Encode(lastresult, this.encoded.width, this.encoded.height); this.encoded.SetPixels32(pixels); this.encoded.Apply(); } }
public static BarcodeCam getInstance() { return(BarcodeCam.getInstance()); }