コード例 #1
0
 public bool Equals(IMarker other)
 {
     return
         (other != null &&
          Id.Equals(other.Id) &&
          Name == other.Name &&
          RelativePosition.Equals(other.RelativePosition) &&
          RelativeRotationEuler.Equals(other.RelativeRotationEuler) &&
          ObjectScale.Equals(other.ObjectScale) &&
          CreatedTime.Equals(other.CreatedTime) &&
          LastUpdatedTime.Equals(other.LastUpdatedTime) &&
          LastUsedTime.Equals(other.LastUsedTime));
 }
コード例 #2
0
 protected bool Equals(VoxelBlock other)
 {
     return(Equals(block, other.block) && RelativePosition.Equals(other.RelativePosition) && Equals(TerrainChunk, other.TerrainChunk));
 }