Tanoda
DecodeByStaticPic.cs
Go to the documentation of this file.
1using UnityEngine;
2using UnityEngine.UI;
3
4public class DecodeByStaticPic : MonoBehaviour
5{
6 public Texture2D targetTex;
7
8 public Text resultText;
9
10 // Use this for initialization
11 void Start()
12 {
13 }
14
15 // Update is called once per frame
16 void Update()
17 {
18 }
19
20 public void Decode()
21 {
23 resultText.text = resultStr;
24 }
25}
static string DecodeByStaticPic(Texture2D tex)
Decodes the by static picture.