Devuelve el signo de f.
El valor de retorno es 1 cuando f es positivo o cero, -1 cuando f es negativo.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { Debug.Log(Mathf.Sign(-10)); Debug.Log(Mathf.Sign(10)); } }