private void UpdateShowAllMaterialNameOptions() { this.m_MaterialName = base.serializedObject.FindProperty("m_MaterialName"); this.m_ShowAllMaterialNameOptions = this.m_MaterialName.intValue == 3; }