public TracerMaterial(string hexColor, Material material) { this.tracerColor = ApplicationDataManager.ConvertHexColorToRGB(hexColor); this.mat = UnityEngine.Object.Instantiate <Material>(material); }
public TracerMaterial(string hexColor, Material material) { this.tracerColor = ApplicationDataManager.ConvertHexColorToRGB(hexColor); this.mat = UnityEngine.Object.Instantiate <Material>(material); }