private void Poll() { if (EditorApplication.timeSinceStartup > _nextUpdateTime) { EditorApplication.update -= Poll; LocksTracker.Update(HandleLocksUpdatedPoll); } }
public void Start() { if (string.IsNullOrEmpty(RepositoryPath)) { Debug.LogWarning("Not starting LFS session: repository path not set"); } else { LocksTracker = new LocksTracker(RepositoryPath.ToNPath(), new UnityEditorThreadMarshaller(), HandleLocksUpdated); LocksTracker.Start(HandleStartupComplete); } }