public override int GetHashCode() { if (m_ExplosionAudio != null) { return(m_ExplosionAudio.GetHashCode()); } return(0); }
public override int GetHashCode() { return(ReferenceEquals(null, source) ? 0 : source.GetHashCode()); }
public AudioSourceItem(AudioSource source) : base(source.GetHashCode()) { displayName = (source.clip ? source.clip.name : "None"); icon = (Texture2D)EditorGUIUtility.IconContent(audioIcon).image; }
public override int GetHashCode() { return((null == source) ? 0 : source.GetHashCode()); }