Skip to content

Instantly share code, notes, and snippets.

Created Oct 5, 2016
What would you like to do?
Costum Update with delays between every call
//Intervalo entre cada Update,, la ventaja es que podemos cambiar
//su valor ya sea dentro del mismo cUpdate o desde otra función.
float intervalos = 0.5f;
void Start()
IEnumerator cUpdate()
//Esperamos el tiempo definido que tenga 'intervalo'
yield return new WaitForSeconds(intervalos);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment