Exemplo n.º 1
0
 private void Poll()
 {
     if (EditorApplication.timeSinceStartup > _nextUpdateTime)
     {
         EditorApplication.update -= Poll;
         LocksTracker.Update(HandleLocksUpdatedPoll);
     }
 }
Exemplo n.º 2
0
 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);
     }
 }