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

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