PixelCrushers.MorePhysics2D Class Reference

Provides more routines for Physics2D. More...

Static Public Member Functions

static GameObject Raycast2DWithoutSelf (Transform source, Transform destination, LayerMask layerMask)
 Stub for running a nonallocating linecast, ignoring the source.
 
static void LogUsePhysics2DWarning ()
 

Properties

static bool queriesStartInColliders [get, set]
 Stub wrapper for Physics2D.queriesStartInColliders.
 
static int maxRaycastResults [get, set]
 Stub for size of the preallocated array for nonallocating raycasts.
 

Detailed Description

Provides more routines for Physics2D.

Member Function Documentation

◆ LogUsePhysics2DWarning()

static void PixelCrushers.MorePhysics2D.LogUsePhysics2DWarning ( )
inlinestatic

◆ Raycast2DWithoutSelf()

static GameObject PixelCrushers.MorePhysics2D.Raycast2DWithoutSelf ( Transform  source,
Transform  destination,
LayerMask  layerMask 
)
inlinestatic

Stub for running a nonallocating linecast, ignoring the source.

Property Documentation

◆ maxRaycastResults

int PixelCrushers.MorePhysics2D.maxRaycastResults
staticgetset

Stub for size of the preallocated array for nonallocating raycasts.

◆ queriesStartInColliders

bool PixelCrushers.MorePhysics2D.queriesStartInColliders
staticgetset

Stub wrapper for Physics2D.queriesStartInColliders.


The documentation for this class was generated from the following file: