예제 #1
0
        void OnAutoDetectButtonClicked()
        {
            MeshSyncEditorSettings settings = MeshSyncEditorSettings.GetOrCreateSettings();

            if (settings.AddInstalledDCCTools())
            {
                Setup(m_root);
            }
        }
예제 #2
0
    internal static MeshSyncEditorSettings GetOrCreateSettings() {
        MeshSyncEditorSettings settings = LoadEditorSettings();
        if (null != settings) {
            return settings;
        }

        settings = new MeshSyncEditorSettings();
        settings.AddInstalledDCCTools();
        settings.SaveEditorSettings();
        return settings;
            
    }