コード例 #1
0
 /// <summary>
 /// Called by <see cref="EditorApplication.update"/> ~100 per second.
 /// </summary>
 void Update()
 {
     if (m_ChangeTracker.DidChange(GetCurrentlySelectedWorld(), m_GameObjectTargets, m_State.SelectedComponentTypes))
     {
         InspectorWindowBridge.RepaintAllInspectors();
     }
 }
コード例 #2
0
        void ISetting.OnSettingChanged(PropertyPath path)
        {
            var p = path.ToString();

            if (p == nameof(Backend))
            {
                InspectorWindowBridge.ReloadAllInspectors();
            }
        }