Exemplo n.º 1
0
        protected void ResurseOptionsGUI(bool showBuild = false)
        {
            if (editorProfile != null)
            {
                pathBase = "EditorProfile/";
            }
            else
            {
                pathBase = OptionHelper.GetAssetGUID(buildProfile) + "/";
            }

            lastCategory     = null;
            categoryExpanded = true;
            optionAvailable  = true;
            buildCategory    = showBuild;

            foreach (var option in options)
            {
                OptionGUIRecursive(option);
            }

            if (Option.changed)
            {
                FlushProfile();
                Option.changed = false;
            }
        }
Exemplo n.º 2
0
 private string GetLastBuildPathSettingName(BuildTarget target)
 {
     return($"{target.ToString()}:{OptionHelper.GetAssetGUID(this)}:lastBuildPath");
 }