void RevertMat() { if (Valid && !m_Loading) { m_MeshMgr.m_MeshMat = m_CreationData.m_MeshMgr.m_MeshMat; m_MeshMgr.SetMeshMat(m_MeshMgr.m_MeshMat); OutlineObject oo = VCUtils.GetComponentOrOnParent <OutlineObject>(this.gameObject); if (oo != null) { oo.ReplaceInCache(VCEditor.Instance.m_HolographicMat, m_MeshMgr.m_MeshMat); } if (OnLoadMeshComplete != null) { OnLoadMeshComplete(); } } }