31 lines
723 B
C#
31 lines
723 B
C#
#if UNITY_EDITOR
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using Sirenix.OdinInspector;
|
|
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
namespace AlicizaX.UI.Editor
|
|
{
|
|
internal class UIGenerateGlobalSettings : ScriptableObject
|
|
{
|
|
[SerializeField] public List<ScriptGenerateRuler> scriptGenerateRule = new List<ScriptGenerateRuler>();
|
|
}
|
|
|
|
[Serializable]
|
|
internal class ScriptGenerateRuler
|
|
{
|
|
public string uiElementRegex;
|
|
public string componentName;
|
|
|
|
public ScriptGenerateRuler(string uiElementRegex, string componentName)
|
|
{
|
|
this.uiElementRegex = uiElementRegex;
|
|
this.componentName = componentName;
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif
|