TimeUtils.

Freeze(List<GameObject>, bool, TimeUtils.RigidbodyFreezeType, bool, bool) Method

Summary

Freeze or Unfreeze given list of GameObjects

Syntax

public static void Freeze(List<GameObject> gameObjects, bool state, TimeUtils.RigidbodyFreezeType rigidbodyFreezeType, bool freezeAnimator, bool freezeParticles)

Parameters

Name Type Description
gameObjects List<GameObject> The list of GameObjects
state bool The freeze state
rigidbodyFreezeType TimeUtils.RigidbodyFreezeType The type of freeze applied to rigidbodys
freezeAnimator bool Freeze Animator components
freezeParticles bool Freeze GameObject's ParticleSystems

Return Value

Type Description
void