public void Update() { someEvent.Update(); if ((uint)EditorApplication.timeSinceStartup > lastTimeCheck) { CheckTime(); } }