TimeUtils.

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

Summary

Freeze or UnFreeze the given timeAgents list

Syntax

public static void Freeze(List<TimeAgent> timeAgents, bool state, TimeUtils.RigidbodyFreezeType rigidbodyFreezeType)

Remarks

Can also be used directly from FreezeTimeAgents(bool)

Parameters

Name Type Description
timeAgents List<TimeAgent> The list of TimeAgent to freeze
state bool The freeze state
rigidbodyFreezeType TimeUtils.RigidbodyFreezeType The type of freeze applied to rigidbodys

Return Value

Type Description
void