---
title: Range(int, int)
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/ctor
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/socialplatforms/range/ctor.md
last_updated: 2026-10-07
generated_at: 2026-11-11T15:34:51.006Z
locale: en-us
---

# Range(int, int)

> Constructor for a score range, the range starts from a specific value and contains a maxium score count.

## Definition

* **Type:** Constructor
* **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 Range(int fromValue, int valueCount)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The minimum allowed value.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The number of possible values.
