文档

Unity Engine

Unity Engine

customColor

Custom debug draw color. Any color value other than Color.clear (RGBA=0) will be used to render the shape.. This value is passed back when using the PhysicsWorld drawing. The alpha value here is always ignored. This is assigned to the current PhysicsShape.surfaceMaterial.
阅读时间1 分钟最后更新于 24 天前

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public Color32 customColor { get; set; }