# Smart

> This class holds a Smart.Default instance of a SmartFormatter. The default instance has all extensions registered. For optimized performance, create a SmartFormatter instance and register the particular extensions that are needed. Smart methods are not thread safe.

## Definition

* **Type:** Class
* **Namespace:** [Unity.SmartStrings](/engine/6000.7/script-reference/unity/smartstrings.md)
* **Assembly:** UnityEngine.SmartStringsModule

```csharp
public static class Smart
```

## Static Properties

| Property                                                                       | Description                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Default](/engine/6000.7/script-reference/unity/smartstrings/smart/default.md) | The default [SmartFormatter](/engine/6000.7/script-reference/unity/smartstrings/smartformatter.md) used by the static [Smart](/engine/6000.7/script-reference/unity/smartstrings/smart.md) formatting methods. If not set, a formatter from [Smart.CreateDefaultSmartFormat](/engine/6000.7/script-reference/unity/smartstrings/smart/createdefaultsmartformat.md) is used. |
| [Project](/engine/6000.7/script-reference/unity/smartstrings/smart/project.md) | The [SmartFormatter](/engine/6000.7/script-reference/unity/smartstrings/smartformatter.md) from the active project [SmartStringsSettings](/engine/6000.7/script-reference/unity/smartstrings/smartstringssettings.md), or `null` if no [SmartStringsSettings](/engine/6000.7/script-reference/unity/smartstrings/smartstringssettings.md) is active.                        |

## Static Methods

| Method                                                                                                           | Description                                                                                                                                                                                                                                                                                                                                       |
| ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [CreateDefaultSmartFormat](/engine/6000.7/script-reference/unity/smartstrings/smart/createdefaultsmartformat.md) | Creates a new [SmartFormatter](/engine/6000.7/script-reference/unity/smartstrings/smartformatter.md) instance with core extensions registered. For optimized performance, create a [SmartFormatter](/engine/6000.7/script-reference/unity/smartstrings/smartformatter.md) instance and register the particular extensions that are really needed. |
| [Format](/engine/6000.7/script-reference/unity/smartstrings/smart/format.md)                                     | Replaces the format items in the specified format string with the string representation or the corresponding object.                                                                                                                                                                                                                              |
