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.

Mathf.Asin

public static float Asin(float f);

Description

Returns the arc-sine of f - the angle in radians whose sine is f.

using UnityEngine;

public class ScriptExample : MonoBehaviour { void Start() { print(Mathf.Asin(0.5f)); } }