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

スクリプト言語

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

Mathf.DeltaAngle

public static function DeltaAngle(current: float, target: float): float;

Description

Calculates the shortest difference between two given angles.

	// Prints 90
	Debug.Log(Mathf.DeltaAngle(1080,90));