Exemplo n.º 1
0
        internal static void PendingChangesView(PendingChangesTab pendingChangesTab)
        {
            if (DisableFsWatcher.MustDisableFsWatcher())
            {
                return;
            }

            if (pendingChangesTab == null)
            {
                return;
            }

            pendingChangesTab.AutoRefresh();
        }
Exemplo n.º 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.");
        }
Exemplo n.º 3
0
        internal static void IncomingChangesView(IIncomingChangesTab incomingChangesTab)
        {
            if (DisableFsWatcher.MustDisableFsWatcher())
            {
                return;
            }

            if (incomingChangesTab == null)
            {
                return;
            }

            if (!incomingChangesTab.IsVisible)
            {
                return;
            }

            incomingChangesTab.AutoRefresh();
        }