文档

Unity Engine

Unity Engine

Maximum

Uses a Maximum algorithm when combining friction or bounciness i.e. the maximum of the two values is used.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
Maximum = 4

Remarks

Given two friction or bounciness values, the Maximum algorithm used is:
valueA > valueB ? valueA : valueB
.