截取操作,可用于浮点数。 Mathf.Repeat(Time.realtimeSinceStartup, 3*blinkTime) > blinkTime; 转载于:https://www.cnblogs.com/yufenghou/p/5745845.html