Summary
Freeze or Unfreeze given GameObject
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .Utils - Containing Type
- TimeUtils
Syntax
public static void Freeze(GameObject go, bool state, TimeUtils.RigidbodyFreezeType rigidbodyFreezeType, bool freezeAnimator, bool freezeParticles)
Parameters
| Name | Type | Description |
|---|---|---|
| go | GameObject | The GameObjects |
| state | bool | The freeze state |
| rigidbodyFreezeType | TimeUtils |
The type of freeze applied to rigidbodys |
| freezeAnimator | bool | Freeze Animator components |
| freezeParticles | bool | Freeze GameObject's ParticleSystems |
Return Value
| Type | Description |
|---|---|
| void |