Summary
Freeze a RigidBody component
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .Utils - Containing Type
- TimeUtils
Syntax
public static void FreezeRigidbody(Rigidbody rigidbody, TimeUtils.RigidbodyFreezeType freezeType, bool state)
Parameters
Name | Type | Description |
---|---|---|
rigidbody | Rigidbody | The Rigidbody |
freezeType | TimeUtils |
The type of freeze |
state | bool | The state of freeze |
Return Value
Type | Description |
---|---|
void |