Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Scale(float)

Scale the geometry along the _forward and _backward direction.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly SegmentGeometry Scale(float scale)

Parameters

scale

Returns

Type

Description

SegmentGeometry