//------------------------------------------------------------------------------------------------------- private object ChangeMaterial(object param) { string strShaderName = (string)param; if (m_Owner != null) { EntityView ev = m_Owner.GetView(); if (ev != null) { ev.ChangeMaterial(strShaderName); } } return(null); }