Version: 2017.3

Mathf.NegativeInfinity

切换到手册
public static float NegativeInfinity ;

描述

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

using UnityEngine;
using System.Collections;

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