Can anybody help me set up the correct method for loading a mesh for a custom gizmo. I had a dumb solution working, but a number of team members had to delete their library and now the Resource.Load always fails.
void OnDrawGizmos()
{
if (gizmoMesh == null)
{
gizmoMesh = ((GameObject)Resources.Load("Ring")).GetComponent<MeshFilter>().sharedMesh;
}
Gizmos.color = Color.blue;
Gizmos.DrawWireMesh(gizmoMesh, transform.position, Quaternion.identity, gizmoScale);
}