TextSceneWindow.OnInspectorUpdate C# (CSharp) Метод

OnInspectorUpdate() приватный Метод

private OnInspectorUpdate ( ) : void
Результат void
    void OnInspectorUpdate()
    {
        //TODO FIXME HACK: I can't currently see how to make the instance survive a play/stop session,
        //                 so we just make sure it is constantly requested (and renewed if necessary).
        //UPDATE: Moved this to a possibly even worse hack, but at least it works without needing to have
        //        this editor window active.
        //TextSceneMonitor.MonitorUpdate();

        if (EditorApplication.timeSinceStartup > nextBuildSettingsCheck)
        {
            nextBuildSettingsCheck = EditorApplication.timeSinceStartup + 2.0f;

            DateTime buildSettingsTime = TextScene.BuildSettingsDate();

            if (buildSettingsTime > loadedBuildSettingsTime)
            {
                LoadSettings();
                loadedBuildSettingsTime = buildSettingsTime;
            }
        }
    }