/
TON618OFF
/
Unity-Project-RTU
Обзор
Документация
Войти
/
TON618OFF
/
Unity-Project-RTU
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Library/PackageCache/com.unity.visualscripting@1.9.4/Editor/VisualScripting.Flow/Plugin/BoltFlowConfiguration.cs
74 строки
3 KB
TON618OFF
release
03 окт 2024, 22:20
03 окт 2024, 22:20
7c70e9f
Код
Авторство
О чём код?
using System.Collections.Generic; namespace Unity.VisualScripting { [Plugin(BoltFlow.ID)] public sealed class BoltFlowConfiguration : PluginConfiguration { private BoltFlowConfiguration(BoltFlow plugin) : base(plugin) { } public override string header => "Script Graphs"; /// <summary> /// (Experimental) Whether the node database should be incrementally updated /// whenever a codebase change is detected. /// </summary> [EditorPref, RenamedFrom("updateUnitsAutomatically")] public bool updateNodesAutomatically { get; set; } = false; /// <summary> /// Whether predictive debugging should warn about null value inputs. /// Note that in some cases, this setting may report false positives. /// </summary> [EditorPref] public bool predictPotentialNullReferences { get; set; } = true; /// <summary> /// Whether predictive debugging should warn about missing components. /// Note that in some cases, this setting may report false positives. /// </summary> [EditorPref] public bool predictPotentialMissingComponents { get; set; } = true; /// <summary> /// Whether values should be shown on flow graph connections. /// </summary> [EditorPref] public bool showConnectionValues { get; set; } = true; /// <summary> /// Whether predictable values should be shown on flow graph connections. /// </summary> [EditorPref] public bool predictConnectionValues { get; set; } = false; /// <summary> /// Whether labels should be hidden on ports when the value can be deduced from the context. /// Disabling will make nodes more explicit but less compact. /// </summary> [EditorPref] public bool hidePortLabels { get; set; } = true; /// <summary> /// Whether active control connections should show a droplet animation. /// </summary> [EditorPref] public bool animateControlConnections { get; set; } = true; /// <summary> /// Whether active value connections should show a droplet animation. /// </summary> [EditorPref] public bool animateValueConnections { get; set; } = true; /// <summary> /// When active, right-clicking a flow graph will skip the context menu /// and instantly open the fuzzy finder. To open the context menu, hold shift. /// </summary> [EditorPref] public bool skipContextMenu { get; set; } = false; [ProjectSetting(visible = false, resettable = false)] public HashSet<string> favoriteUnitOptions { get; set; } = new HashSet<string>(); } }