---
title: Equals
product: Unity Editor
version: '6000.3'
latest_version: '7000.0'
status: This page documents version 6000.3. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.3/script-reference/unity/integertime/rationaltime/tickspersecond/equals
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/integertime/rationaltime/tickspersecond/equals.md
last_updated: 2026-09-14
generated_at: 2026-11-08T05:54:35.156Z
locale: en-us
---

# Equals

> Returns whether two values are equal.

## Definition

* **Type:** Method
* **Namespace:** [Unity.IntegerTime](/engine/6000.3/script-reference/unity/integertime.md)
* **Assembly:** UnityEngine.CoreModule

## Equals(TicksPerSecond)

Returns whether two values are equal.

```csharp
public readonly bool Equals(RationalTime.TicksPerSecond rhs)
```

### Parameters

**** (\[TicksPerSecond]\(/engine/6000.3/script-reference/unity/integertime/rationaltime/tickspersecond)):&#x20;

### Returns

| Type                                                          | Description                                         |
| ------------------------------------------------------------- | --------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the 2 values are equal and false otherwise. |

## Equals(Object)

Returns whether two values are equal.

```csharp
public override readonly bool Equals(object rhs)
```

### Parameters

**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)):&#x20;

### Returns

| Type                                                          | Description                                         |
| ------------------------------------------------------------- | --------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the 2 values are equal and false otherwise. |
