Impact CFX API 1.5.0
Comprehensive API documentation for Impact CFX - Collision Effects System
Loading...
Searching...
No Matches
ImpactCFX.ObjectIDExtensions Class Reference

Static Public Member Functions

static int GetIDForObject (this UnityEngine.Object o, ObjectIDMode objectIDMode)
 Gets the appropriate ID for the given object using the object ID mode.
 

Member Function Documentation

◆ GetIDForObject()

static int ImpactCFX.ObjectIDExtensions.GetIDForObject ( this UnityEngine::Object  o,
ObjectIDMode  objectIDMode 
)
static

Gets the appropriate ID for the given object using the object ID mode.

Parameters
oThe object to get an ID for.
objectIDModeThe object ID mode.
Returns
An integer ID for the object.