Example #1
0
    public override int GetHashCode()
    {
        if (m_ExplosionAudio != null)
        {
            return(m_ExplosionAudio.GetHashCode());
        }

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