private object EnableShadow(object param) { if (m_Owner != null) { bool bEnable = (bool)param; EntityView ev = m_Owner.GetView(); if (ev != null) { ev.EnableShadow(bEnable); } } return(null); }