private IEnumerator Ticker() { while (true) { entitySystem.Tick(); yield return(new WaitForSeconds(GlobalConstants.TickPeriodInSeconds)); } }
private IEnumerator Ticker() { while (Application.isPlaying) { entitySystem.Tick(); yield return(new WaitForSeconds(Constants.TickPeriodInSeconds)); } }