LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Range Constructor

public Range(int fromValue, int valueCount);

Parameters

fromValueThe minimum allowed value.
valueCountThe number of possible values.

Description

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