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