|
|
|
|
|
|
{ |
|
|
|
public bool Equals(VisibleLight x, VisibleLight y) |
|
|
|
{ |
|
|
|
if (x.light == null && y.light == null) |
|
|
|
return true; |
|
|
|
|
|
|
|
if (x.light == null || y.light == null) |
|
|
|
return false; |
|
|
|
|
|
|
|
if (obj.light == null) // Particle light weirdness
|
|
|
|
return obj.GetHashCode(); |
|
|
|
|
|
|
|
return obj.light.GetInstanceID(); |
|
|
|
} |
|
|
|
} |
|
|
|