public GameObject ScriptHolder; public float Afloat; //retrieve float every frame void Update() { Afloat = ScriptHolder.GetComponent<Script>().WantedFloat; }