ドキュメント

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 分最終更新 23日前

Definition

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