言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Mathf.Min

public static function Min(params values: float[]): float;

Description

Returns the smallest of two or more values.

	// prints 1.2
	print(Mathf.Min(1.2, 2.4));
public static function Min(params values: int[]): int;

Description

Returns the smallest of two or more values.

	// prints 1
	print(Mathf.Min(1, 2));