Example #1
0
        void Reset()
        {
#if UNITY_EDITOR
            if (m_Mat == null)
            {
                m_Mat = UCL_CoreSetting.LoadMaterial("UCL_VertexColMat");
                //var path = Path.Combine(Path.Combine(UCL_CoreSetting.GetFolderPath(), "UCL_Core_Materials"), "UCL_VertexColMat.mat");
                //Debug.LogError("Reset() path>:"+ path);
                //m_Mat = UnityEditor.AssetDatabase.LoadMainAssetAtPath(path) as Material;
            }
#endif
        }
Example #2
0
 public static string GetCoreFolderPath()
 {
     return(UCL_CoreSetting.GetFolderPath());
 }