예제 #1
0
        internal static void PendingChangesView(PendingChangesTab pendingChangesTab)
        {
            if (DisableFsWatcher.MustDisableFsWatcher())
            {
                return;
            }

            if (pendingChangesTab == null)
            {
                return;
            }

            pendingChangesTab.AutoRefresh();
        }
예제 #2
0
파일: PlasticApp.cs 프로젝트: Buster-00/Q_G
        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.");
        }
예제 #3
0
        internal static void IncomingChangesView(IIncomingChangesTab incomingChangesTab)
        {
            if (DisableFsWatcher.MustDisableFsWatcher())
            {
                return;
            }

            if (incomingChangesTab == null)
            {
                return;
            }

            if (!incomingChangesTab.IsVisible)
            {
                return;
            }

            incomingChangesTab.AutoRefresh();
        }