文档

Unity Engine

Unity Engine

NegativeInfinity

A representation of negative infinity (Read Only).
阅读时间1 分钟最后更新于 1 天前

Definition

public const float NegativeInfinity = -Infinity

Examples

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