Mathf.Minstatic function Min (a : float, b : float) : floatstatic function Min (params values : float[]) : floatDescriptionReturns the smallest of two or more values.
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { void Awake() { print(Mathf.Min(1.2F, 2.4F)); } } import UnityEngine
import System.Collections class example(MonoBehaviour): def Awake(): print(Mathf.Min(1.2F, 2.4F)) static function Min (a : int, b : int) : intstatic function Min (params values : int[]) : intDescriptionReturns the smallest of two or more values.
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { void Awake() { print(Mathf.Min(1, 2)); } } import UnityEngine
import System.Collections class example(MonoBehaviour): def Awake(): print(Mathf.Min(1, 2)) |
