# PreloadBehavior

> The preload behavior the flagged table collections follow.

## Definition

* **Type:** Property
* **Namespace:** [Unity.Localization](/engine/6000.7/script-reference/unity/localization.md)
* **Assembly:** UnityEngine.LocalizationRuntimeModule

```csharp
public static PreloadBehavior PreloadBehavior { get; set; }
```

### Remarks

Defaults to [PreloadBehavior.PreloadSelectedLocale](/engine/6000.7/script-reference/unity/localization/preloadbehavior/preloadselectedlocale.md). Flag collections for preloading in the Editor. The flagged tables load when initialization completes and again after the selected locale changes, so their values are available to the synchronous accessors afterwards. Without a registered settings instance, this reads as [PreloadBehavior.NoPreloading](/engine/6000.7/script-reference/unity/localization/preloadbehavior/nopreloading.md).

Additional Resources: [PreloadBehavior](/engine/6000.7/script-reference/unity/localization/preloadbehavior.md)

Preload the flagged tables for the selected locale and its fallbacks.

### Examples

```csharp
using Unity.Localization;

namespace Unity.Localization.Samples
{
    public class PreloadBehaviorExample
    {
        public void Configure()
        {
            LocalizationSettings.PreloadBehavior = PreloadBehavior.PreloadSelectedLocaleAndFallbacks;
        }
    }
}
```
