using UnityEngine; namespace ET.Util { public class MaterialHelper : SingletonBase { public Material EdgeHighlightMat { get; } public Material HighlightMat { get; } public MaterialHelper() { this.EdgeHighlightMat = new Material(Shader.Find("PeachValley/GameObject")); this.EdgeHighlightMat.EnableKeyword("_EFFECT_EDGE_ON"); this.EdgeHighlightMat.EnableKeyword("_EFFECT_HIGHLIGHT_ON"); this.HighlightMat = new Material(Shader.Find("PeachValley/GameObject")); this.HighlightMat.EnableKeyword("_EFFECT_HIGHLIGHT_ON"); } } }