protected void _RefreshRayMesh() { VRSelection selection = m_SelectionMgr.GetSelection(); if (selection != null) { m_Wand.SetRayColor(HoverColor); m_Wand.SetRayLength(selection.SelectionDistance); } else { m_Wand.SetRayColor(m_Wand.DefaultRayColor); m_Wand.SetRayLength(m_Wand.DefaultRayLength); } }