New anim added
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BgTools.PlayerPrefsEditor
|
||||
{
|
||||
[System.Serializable]
|
||||
public class PreferenceEntryHolder : ScriptableObject
|
||||
{
|
||||
public List<PreferenceEntry> userDefList;
|
||||
public List<PreferenceEntry> unityDefList;
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
hideFlags = HideFlags.DontSave;
|
||||
if (userDefList == null)
|
||||
userDefList = new List<PreferenceEntry>();
|
||||
if (unityDefList == null)
|
||||
unityDefList = new List<PreferenceEntry>();
|
||||
}
|
||||
|
||||
public void ClearLists()
|
||||
{
|
||||
if (userDefList != null)
|
||||
userDefList.Clear();
|
||||
if (unityDefList != null)
|
||||
unityDefList.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user