Mathf.Repeatstatic function Repeat (t : float, length : float) : floatDescriptionLoops the value t, so that it is never larger than length and never smaller than 0. This is similar to the modulo operator but it works with floating point numbers.
JavaScript
function Update () { using UnityEngine; import UnityEngine |
