1234567891011121314151617181920212223242526272829303132333435363738 |
- using System.Collections.Generic;
- #if UNITY_EDITOR
- //using UnityEditor;
- #endif
- using UnityEngine;
- using XRTool.Util;
- namespace ShadowStudio.Model
- {
- public class ArtResConf : ScriptableObject
- {
- public List<Object> resModelList;
- public ArtType artType;
- public InstaceType instaceType = InstaceType.References;
- #if UNITY_EDITOR
- //[MenuItem("Assets/Create/DataBase/ArtResConf", false, 0)]
- //static void CreateDynamicConf()
- //{
- // Object obj = Selection.activeObject;
- // if (obj)
- // {
- // string path = AssetDatabase.GetAssetPath(obj);
- // ArtResConf bullet = CreateInstance<ArtResConf>();
- // if (bullet)
- // {
- // string confName = UnityUtil.TryGetName<ArtResConf>(path);
- // AssetDatabase.CreateAsset(bullet, confName);
- // }
- // else
- // {
- // Debug.Log(typeof(ArtResConf) + " is null");
- // }
- // }
- //}
- #endif
- }
- }
|