public virtual Type GetResource(Type type) { if (m_Parent != null) { return(m_Parent.GetResource(type)); } return(type); }