# MotionScheduler

Choose a PlayerLoop phase and a clock. Use an IgnoreTimeScale scheduler for a tween that should continue while the game is paused.

Namespace: MeatMotion

Assembly: MeatMotion

```csharp
public static class MotionScheduler
```

[Runtime/Scheduling/MotionScheduler.cs · L43](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L43)

## Animate UI while the game is paused

Add `using MeatMotion;`. Select UpdateIgnoreTimeScale for a fade that should keep playing while Time.timeScale is zero.

```csharp
float alpha = 0f;
var fade = MMotion.Create(0f, 1f, 0.25f)
    .WithScheduler(MotionScheduler.UpdateIgnoreTimeScale)
    .Bind(v => alpha = v);
```

## Initialization

Update in the Initialization phase using scaled time.

```csharp
public static readonly IMotionScheduler Initialization;
```

[Runtime/Scheduling/MotionScheduler.cs · L52](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L52)

## InitializationIgnoreTimeScale

Update in the Initialization phase using unscaled time.

```csharp
public static readonly IMotionScheduler InitializationIgnoreTimeScale;
```

[Runtime/Scheduling/MotionScheduler.cs · L53](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L53)

## InitializationRealtime

Update in the Initialization phase using real time.

```csharp
public static readonly IMotionScheduler InitializationRealtime;
```

[Runtime/Scheduling/MotionScheduler.cs · L54](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L54)

## EarlyUpdate

Update in the EarlyUpdate phase using scaled time.

```csharp
public static readonly IMotionScheduler EarlyUpdate;
```

[Runtime/Scheduling/MotionScheduler.cs · L55](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L55)

## EarlyUpdateIgnoreTimeScale

Update in the EarlyUpdate phase using unscaled time.

```csharp
public static readonly IMotionScheduler EarlyUpdateIgnoreTimeScale;
```

[Runtime/Scheduling/MotionScheduler.cs · L56](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L56)

## EarlyUpdateRealtime

Update in the EarlyUpdate phase using real time.

```csharp
public static readonly IMotionScheduler EarlyUpdateRealtime;
```

[Runtime/Scheduling/MotionScheduler.cs · L57](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L57)

## FixedUpdate

Update in the FixedUpdate phase using scaled time.

```csharp
public static readonly IMotionScheduler FixedUpdate;
```

[Runtime/Scheduling/MotionScheduler.cs · L58](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L58)

## PreUpdate

Update in the PreUpdate phase using scaled time.

```csharp
public static readonly IMotionScheduler PreUpdate;
```

[Runtime/Scheduling/MotionScheduler.cs · L59](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L59)

## PreUpdateIgnoreTimeScale

Update in the PreUpdate phase using unscaled time.

```csharp
public static readonly IMotionScheduler PreUpdateIgnoreTimeScale;
```

[Runtime/Scheduling/MotionScheduler.cs · L60](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L60)

## PreUpdateRealtime

Update in the PreUpdate phase using real time.

```csharp
public static readonly IMotionScheduler PreUpdateRealtime;
```

[Runtime/Scheduling/MotionScheduler.cs · L61](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L61)

## Update

Update in the Update phase using scaled time.

```csharp
public static readonly IMotionScheduler Update;
```

[Runtime/Scheduling/MotionScheduler.cs · L62](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L62)

## UpdateIgnoreTimeScale

Update in the Update phase using unscaled time.

```csharp
public static readonly IMotionScheduler UpdateIgnoreTimeScale;
```

[Runtime/Scheduling/MotionScheduler.cs · L63](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L63)

## UpdateRealtime

Update in the Update phase using real time.

```csharp
public static readonly IMotionScheduler UpdateRealtime;
```

[Runtime/Scheduling/MotionScheduler.cs · L64](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L64)

## PreLateUpdate

Update in the PreLateUpdate phase using scaled time.

```csharp
public static readonly IMotionScheduler PreLateUpdate;
```

[Runtime/Scheduling/MotionScheduler.cs · L65](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L65)

## PreLateUpdateIgnoreTimeScale

Update in the PreLateUpdate phase using unscaled time.

```csharp
public static readonly IMotionScheduler PreLateUpdateIgnoreTimeScale;
```

[Runtime/Scheduling/MotionScheduler.cs · L66](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L66)

## PreLateUpdateRealtime

Update in the PreLateUpdate phase using real time.

```csharp
public static readonly IMotionScheduler PreLateUpdateRealtime;
```

[Runtime/Scheduling/MotionScheduler.cs · L67](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L67)

## PostLateUpdate

Update in the PostLateUpdate phase using scaled time.

```csharp
public static readonly IMotionScheduler PostLateUpdate;
```

[Runtime/Scheduling/MotionScheduler.cs · L68](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L68)

## PostLateUpdateIgnoreTimeScale

Update in the PostLateUpdate phase using unscaled time.

```csharp
public static readonly IMotionScheduler PostLateUpdateIgnoreTimeScale;
```

[Runtime/Scheduling/MotionScheduler.cs · L69](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L69)

## PostLateUpdateRealtime

Update in the PostLateUpdate phase using real time.

```csharp
public static readonly IMotionScheduler PostLateUpdateRealtime;
```

[Runtime/Scheduling/MotionScheduler.cs · L70](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L70)

## TimeUpdate

Update in the TimeUpdate phase using scaled time.

```csharp
public static readonly IMotionScheduler TimeUpdate;
```

[Runtime/Scheduling/MotionScheduler.cs · L71](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L71)

## TimeUpdateIgnoreTimeScale

Update in the TimeUpdate phase using unscaled time.

```csharp
public static readonly IMotionScheduler TimeUpdateIgnoreTimeScale;
```

[Runtime/Scheduling/MotionScheduler.cs · L72](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L72)

## TimeUpdateRealtime

Update in the TimeUpdate phase using real time.

```csharp
public static readonly IMotionScheduler TimeUpdateRealtime;
```

[Runtime/Scheduling/MotionScheduler.cs · L73](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L73)

## Manual

Schedule into the default ManualMotionDispatcher.

```csharp
public static IMotionScheduler Manual { get; }
```

[Runtime/Scheduling/MotionScheduler.cs · L74](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L74)

## DefaultScheduler

Get or set the scheduler used when none is specified.

```csharp
public static IMotionScheduler DefaultScheduler { get; set; }
```

[Runtime/Scheduling/MotionScheduler.cs · L75](../../../source/Runtime/Scheduling/MotionScheduler.cs.html#L75)

## Related types

- [IMotionScheduler](../../../en/api/imotionscheduler/index.md)

- [ManualMotionDispatcher](../../../en/api/manualmotiondispatcher/index.md)

- [MotionTimeKind](../../../en/api/motiontimekind/index.md)
