Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Add(WorldCounters, WorldCounters)

Add the specified world counters together.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static PhysicsWorld.WorldCounters Add(PhysicsWorld.WorldCounters countersA, PhysicsWorld.WorldCounters countersB)

Parameters

countersA

The first world counters to add.

countersB

The second world counters to add.

Returns

Type

Description

WorldCountersThe world counters added together.