Mathf.NegativeInfinity

切换到手册
public static float NegativeInfinity ;

描述

负无穷大的表示形式(只读)。

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Debug.Log(Mathf.NegativeInfinity); } }