Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Size()

The data size of the capsule element. This can be useful in understanding the memory stride in a ComputeBuffer or other structure.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static int Size()

Returns

Type

Description

intThe size in bytes.