/// <summary>
        /// Delete the asset file.
        /// </summary>
        private void _DeleteAssetFile()
        {
            string filePath = "Assets/Resources/" + MyUGUIManager.CONFIG_DIRECTORY + typeof(MyUGUIConfigPopups).Name + ".asset";

            if (File.Exists(filePath))
            {
                AssetDatabase.DeleteAsset(filePath);
            }

            mPopups = null;
        }
        /// <summary>
        /// Load the asset file.
        /// </summary>
        private void _LoadAssetFile()
        {
            if (mPopups != null)
            {
                return;
            }

            string filePath = "Assets/Resources/" + MyUGUIManager.CONFIG_DIRECTORY + typeof(MyUGUIConfigPopups).Name + ".asset";

            mPopups = AssetDatabase.LoadAssetAtPath(filePath, typeof(MyUGUIConfigPopups)) as MyUGUIConfigPopups;
            if (mPopups == null)
            {
                mPopups           = ScriptableObject.CreateInstance <MyUGUIConfigPopups>();
                mPopups.ListPopup = new List <MyUGUIConfigPopup>();
                mPopups.ListPopup.Add(new MyUGUIConfigPopup()
                {
                    IsFoldOut  = true,
                    ID         = EPopupID.Dialog0ButtonPopup,
                    ScriptName = typeof(MyUGUIPopup0Button).ToString(),
                    PrefabName = EPopupID.Dialog0ButtonPopup.ToString()
                });
                mPopups.ListPopup.Add(new MyUGUIConfigPopup()
                {
                    IsFoldOut  = true,
                    ID         = EPopupID.Dialog1ButtonPopup,
                    ScriptName = typeof(MyUGUIPopup1Button).ToString(),
                    PrefabName = EPopupID.Dialog1ButtonPopup.ToString()
                });
                mPopups.ListPopup.Add(new MyUGUIConfigPopup()
                {
                    IsFoldOut  = true,
                    ID         = EPopupID.Dialog2ButtonsPopup,
                    ScriptName = typeof(MyUGUIPopup2Buttons).ToString(),
                    PrefabName = EPopupID.Dialog2ButtonsPopup.ToString()
                });
                mPopups.NumDefault = mPopups.ListPopup.Count;
                AssetDatabase.CreateAsset(mPopups, filePath);
                AssetDatabase.SaveAssets();
            }
        }