---
title: Range
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/socialplatforms/range
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/socialplatforms/range.md
last_updated: 2026-10-07
generated_at: 2026-11-12T22:21:57.584Z
locale: en-us
---

# Range

> The score range a leaderboard query should include.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.SocialPlatforms](/engine/7000.0/script-reference/unityengine/socialplatforms.md)
* **Assembly:** UnityEngine.GameCenterModule

> **Warning:**
>
> **Deprecated.** Range is deprecated and will be removed in a future release.

```csharp
public struct Range
```

## Fields

| Value                                                                               | Description                                    |
| ----------------------------------------------------------------------------------- | ---------------------------------------------- |
| [count](/engine/7000.0/script-reference/unityengine/socialplatforms/range/count.md) | The total amount of scores retreived.          |
| [from](/engine/7000.0/script-reference/unityengine/socialplatforms/range/from.md)   | The rank of the first score which is returned. |

## Constructors

| Constructor                                                                                                   | Description                                                                                              |
| ------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| [Range(System.Int32,System.Int32)](/engine/7000.0/script-reference/unityengine/socialplatforms/range/ctor.md) | Constructor for a score range, the range starts from a specific value and contains a maxium score count. |
