// Update is called once per frame void Update() { updateDeltaTimeData(); if (globalUpdateDg != null) { globalUpdateDg.Invoke(); } }