Example #1
0
        static void SetupFsWatcher()
        {
            if (!PlatformIdentifier.IsMac())
            {
                return;
            }

            WorkspaceWatcherFsNodeReadersCache.Get().SetMacFsWatcherBuilder(
                new MacFsWatcherBuilder());
        }
Example #2
0
        static void DisableFsWatcherIfNeeded()
        {
            if (!DisableFsWatcher.MustDisableFsWatcher())
            {
                return;
            }

            WorkspaceWatcherFsNodeReadersCache.Get().DisableWatcher();
            Debug.LogWarning(
                "Plastic SCM: Detected an unsupported Runtime Version. " +
                "The Plastic SCM Filesystem Watcher is not compatible with this runtime, " +
                "and has been disabled.This can affect to the Pending Changes view performance, " +
                "and also causes that the auto - refresh feature for views is disabled.We strongly " +
                "recommend upgrading to the.NET 4.x equivalent Runtime Version for a better experience. " +
                "In order to change the Runtime Version go Edit > Project Settings > Player > Other Settings > Configuration > Scripting Runtime Version.");
        }
Example #3
0
 static bool IsFileSystemWatcherEnabled(WorkspaceInfo wkInfo)
 {
     return(WorkspaceWatcherFsNodeReadersCache.Get().
            IsWatcherEnabled(wkInfo));
 }