예제 #1
0
    public void Click()
    {
//        print("?");
        InputField NewText = GameObject.Find("Canvas/Button_Panel/Input_File").GetComponent <InputField>();

        path = NewText.text;
        while (path.Length > 0)
        {
            int l = path.Length;
            if (path[l - 1] == '\n' || path[l - 1] == ' ' || path[l - 1] == '\t')
            {
                path = path.Substring(0, l - 1);
            }
            else
            {
                break;
            }
        }
        while (path.Length > 0)
        {
            int l = path.Length;
            if (path[0] == '\n' || path[0] == ' ' || path[0] == '\t')
            {
                path = path.Substring(1, l);
            }
            else
            {
                break;
            }
        }
        Read_code.Work(path);
    }
예제 #2
0
 public void Click()
 {
     Updata.Init_All();
     Read_code.Work(File_Input.path);
 }
예제 #3
0
 static public void F5()
 {
     Updata.Init_All();
     Read_code.Work(File_Input.path);
 }