Esempio n. 1
0
        public override int GetHashCode()
        {
            int a = Type.GetHashCode() ^ ValueType.GetHashCode() ^ Event.GetHashCode() ^ Last_Event.GetHashCode();
            int b = Value.GetHashCode() ^ Location.GetHashCode() ^ Rotation.GetHashCode() ^ Euler.GetHashCode() ^ Duration.GetHashCode();

            return(a ^ b);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = Event.GetHashCode() ^ Value.GetHashCode() ^ Location.GetHashCode() ^ Rotation.GetHashCode() ^ Duration.GetHashCode();

            return(Action != null?Action.GetHashCode() ^ hash : hash);
        }