private Material CreateForceDrawMaterial() { Material result; try { Material material = new Material(MaterialHelper.GetColorZOrderShader()); Color red = Color.red; red.a = markerOverlayAlpha; material.SetColor("_Color", red); result = material; } catch (Exception ex) { Console.WriteLine(ex.ToString()); result = null; } return(result); }