void Start() { UIModuleModelTimer.AtEndOfFrame(() => { m_started = true; OnEnable(); }, this); UIModuleModelTimer.DelayedCall(0.01f, () => { Cleanup(); UpdateDisplay(); }, this); }
void OnRectTransformDimensionsChange() { if (Application.isPlaying) { m_hardUpdateQueued = true; } else { UIModuleModelTimer.AtEndOfFrame(() => { if (m_enabled) { HardUpdateDisplay(); } }, this); } }