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 }
public static string GetCoreFolderPath() { return(UCL_CoreSetting.GetFolderPath()); }