文档

Unity Engine

Unity Engine

NegativeInfinity

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

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public const float NegativeInfinity = -Infinity

Examples

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