Summary
Freeze or UnFreeze the given timeAgents list
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .Utils - Containing Type
- TimeUtils
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 |
The list of TimeAgent to freeze |
state | bool | The freeze state |
rigidbodyFreezeType | TimeUtils |
The type of freeze applied to rigidbodys |
Return Value
Type | Description |
---|---|
void |