# MMotion.String

Create text tweens for the five Unity.Collections FixedString capacities. Configure rich text and scrambling on the builder.

Namespace: MeatMotion

Assembly: MeatMotion

```csharp
public static class String
```

[Runtime/Adapters/Strings/StringMotion.cs · L26](../../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L26)

## Tween a FixedString

Add `using MeatMotion;` and `using Unity.Collections;`. Complete writes the final text immediately.

```csharp
var result = new FixedString32Bytes();
var handle = MMotion.String.Create32Bytes(
    new FixedString32Bytes("A"), new FixedString32Bytes("DONE"), 1f)
    .Bind(v => result = v);
handle.Complete();
```

## Create32Bytes

Create a text tween from FixedString32Bytes endpoints and a duration in seconds.

```csharp
public static MotionBuilder<FixedString32Bytes, StringOptions, FixedString32BytesMotionAdapter> Create32Bytes( in FixedString32Bytes from, in FixedString32Bytes to, float duration)
```

Parameters and return value

- `from` (`in FixedString32Bytes`) Starting value.
- `to` (`in FixedString32Bytes`) End value.
- `duration` (`float`) Duration in seconds.
- Returns: `MotionBuilder<FixedString32Bytes, StringOptions, FixedString32BytesMotionAdapter>`

[Runtime/Adapters/Strings/StringMotion.cs · L28](../../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L28)

## Create64Bytes

Create a text tween from FixedString64Bytes endpoints and a duration in seconds.

```csharp
public static MotionBuilder<FixedString64Bytes, StringOptions, FixedString64BytesMotionAdapter> Create64Bytes( in FixedString64Bytes from, in FixedString64Bytes to, float duration)
```

Parameters and return value

- `from` (`in FixedString64Bytes`) Starting value.
- `to` (`in FixedString64Bytes`) End value.
- `duration` (`float`) Duration in seconds.
- Returns: `MotionBuilder<FixedString64Bytes, StringOptions, FixedString64BytesMotionAdapter>`

[Runtime/Adapters/Strings/StringMotion.cs · L32](../../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L32)

## Create128Bytes

Create a text tween from FixedString128Bytes endpoints and a duration in seconds.

```csharp
public static MotionBuilder<FixedString128Bytes, StringOptions, FixedString128BytesMotionAdapter> Create128Bytes( in FixedString128Bytes from, in FixedString128Bytes to, float duration)
```

Parameters and return value

- `from` (`in FixedString128Bytes`) Starting value.
- `to` (`in FixedString128Bytes`) End value.
- `duration` (`float`) Duration in seconds.
- Returns: `MotionBuilder<FixedString128Bytes, StringOptions, FixedString128BytesMotionAdapter>`

[Runtime/Adapters/Strings/StringMotion.cs · L36](../../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L36)

## Create512Bytes

Create a text tween from FixedString512Bytes endpoints and a duration in seconds.

```csharp
public static MotionBuilder<FixedString512Bytes, StringOptions, FixedString512BytesMotionAdapter> Create512Bytes( in FixedString512Bytes from, in FixedString512Bytes to, float duration)
```

Parameters and return value

- `from` (`in FixedString512Bytes`) Starting value.
- `to` (`in FixedString512Bytes`) End value.
- `duration` (`float`) Duration in seconds.
- Returns: `MotionBuilder<FixedString512Bytes, StringOptions, FixedString512BytesMotionAdapter>`

[Runtime/Adapters/Strings/StringMotion.cs · L40](../../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L40)

## Create4096Bytes

Create a text tween from FixedString4096Bytes endpoints and a duration in seconds.

```csharp
public static MotionBuilder<FixedString4096Bytes, StringOptions, FixedString4096BytesMotionAdapter> Create4096Bytes( in FixedString4096Bytes from, in FixedString4096Bytes to, float duration)
```

Parameters and return value

- `from` (`in FixedString4096Bytes`) Starting value.
- `to` (`in FixedString4096Bytes`) End value.
- `duration` (`float`) Duration in seconds.
- Returns: `MotionBuilder<FixedString4096Bytes, StringOptions, FixedString4096BytesMotionAdapter>`

[Runtime/Adapters/Strings/StringMotion.cs · L44](../../../source/Runtime/Adapters/Strings/StringMotion.cs.html#L44)
