Example #1
0
        //-------------------------------------------------------------------------------------------------------
        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);
        }