仿照NGUI封裝 DoTween功能系列 (十)-TweenSet

using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;

namespace UGUITweener
{
    public class TweenSet
    {
        static public bool GetBool(string name, bool defaultValue) { return EditorPrefs.GetBool(name, defaultValue); }
        static public void SetBool(string name, bool val) { EditorPrefs.SetBool(name, val); }
        static public bool minimalisticLook
        {
            get { return GetBool("UGUI Minimalistic", false); }
            set { SetBool("UGUI Minimalistic", value); }
        }
    }
}
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章