Impact Interaction System API
Impact.Interactions.InteractionResultExtensions Class Reference

Static Public Member Functions

static int GetPriority (int? priorityOverride, IImpactObject obj)
 Gets the priority, either from the Interaction Data Priority Override or from the Impact Object. More...
 

Member Function Documentation

◆ GetPriority()

static int Impact.Interactions.InteractionResultExtensions.GetPriority ( int?  priorityOverride,
IImpactObject  obj 
)
static

Gets the priority, either from the Interaction Data Priority Override or from the Impact Object.

Parameters
collisionResultThe collision result to get the priority for.
objThe impact object to get the priority from.
Returns
The priority, either from the Interaction Data Priority Override or from the Impact Object.