Class PhysicsBodyExtensions
Inheritance
System.Object
PhysicsBodyExtensions
Assembly: cs.temp.dll.dll
Syntax
public static class PhysicsBodyExtensions
Methods
TryGetCallbackComponent<T>(PhysicsBody, out T, Boolean)
Declaration
public static bool TryGetCallbackComponent<T>(this PhysicsBody body, out T component, bool checkShapeValidation = false)
where T : Component
Parameters
| Type |
Name |
Description |
| PhysicsBody |
body |
|
| T |
component |
|
| System.Boolean |
checkShapeValidation |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
TryGetCallbackShapeComponent<T>(PhysicsBody, out T, Boolean)
Declaration
public static bool TryGetCallbackShapeComponent<T>(this PhysicsBody body, out T component, bool checkShapeValidation = false)
where T : SFShapeComponent
Parameters
| Type |
Name |
Description |
| PhysicsBody |
body |
|
| T |
component |
|
| System.Boolean |
checkShapeValidation |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters