how to call one float from a script and place it on ui in unity c# code example
Example: unity float from another script
public GameObject ScriptHolder;
public float Afloat;
//retrieve float every frame
void Update()
{
Afloat = ScriptHolder.GetComponent<Script>().WantedFloat;
}