public void ReadMiuInput(string s) { input = s; PLProp plp = PL.GetComponent <PLProp>(); plp.miu = float.Parse(input); }
private void UpdatePLTolbar() { PLProp pl = PL.GetComponent <PLProp>(); Miu.text = pl.miu.ToString(); Angle.text = pl.angle.ToString(); }
public void ReadAngleInput(string s) { input = s; PLProp plp = PL.GetComponent <PLProp>(); plp.angle = float.Parse(input); }
/*private void Update() * { * if (PLSelected) * UpdatePLTolbar(); * }*/ public void EnablePLTolbar() { PLTolbar.SetActive(true); PLProp pl = PL.GetComponent <PLProp>(); Miu.text = pl.miu.ToString(); Angle.text = pl.angle.ToString(); PLSelected = true; }