Snapping

class in UnityEngine

切换到手册

描述

将值对齐到四舍五入的增量。

静态函数

Snap将 value 四舍五入到最接近的 snap 倍数。

Did you find this page useful? Please give it a rating: