Method AsComponent
AsComponent(BlobAssetReference<Collider>)
Get a PhysicsComponent instance containing this BlobAssetReference<Collider>
Declaration
public static PhysicsCollider AsComponent(this BlobAssetReference<Collider> col)
Parameters
Type | Name | Description |
---|---|---|
BlobAssetReference<Collider> | col | The BlobAssetReference<Collider> instance that we're attempting to extract data from. |
Returns
Type | Description |
---|---|
PhysicsCollider | A PhysicsComponent instance. |