using UnityEngine.UI; using UnityEngine; using System; using System.Collections; public class Create3D : MonoBehaviour { public static float getvalueMesure(String S) { Text Vs = GameObject.Find(S).GetComponent(); String dataF = Vs.text; float Vn = DOIT.CSn(dataF); return Vn; } public static float lonvalue(string S1,string S2) { float V = 0; if (getvalueMesure(S1) > getvalueMesure(S2)) V = getvalueMesure(S1); else V = getvalueMesure(S2); return V; } public static void setMesureNew(float M, string m) { string Vs = DOIT.CNs(M); GameObject.Find(m).GetComponent().text = Vs; } }