示例#1
0
        public override void SavePref()
        {
            EditorPrefs.SetBool(FormKey("enabled"), this.enabled);

            EditorPrefs.SetBool(FormKey("enabledText"), this.enabledText);
            HierarchyUtil.SetColor(FormKey("textColorUntagged"), this.textColorUntagged);
            HierarchyUtil.SetColor(FormKey("textColor"), this.textColor);

            EditorPrefs.SetBool(FormKey("enabledItem"), this.enabledItem);
            HierarchyUtil.SetDictionary(FormKey("itemColors"), this.itemColors);
            HierarchyUtil.SetData(FormKey("gradientLength"), this.gradientLength);
            HierarchyUtil.SetData(FormKey("invertDirection"), this.invertDirection);
        }