# extraUserProperties

> A list of default FBX properties to treat as user properties during OnPostprocessGameObjectWithUserProperties.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public string[] extraUserProperties { get; set; }
```

### Remarks

Specify the names of default FBX properties to be consider as extra user properties to pass to [AssetPostprocessor.OnPostprocessGameObjectWithUserProperties(GameObject, string\[\], object\[\])](/engine/6000.6/script-reference/unityeditor/assetpostprocessor/onpostprocessgameobjectwithuserproperties.md).

### Examples

```csharp
using UnityEditor;
using UnityEngine;

public class MyPostProcessor : AssetPostprocessor
{
    public override uint GetVersion() => 1;

    //Adding 1 FBX default properties to be considered as UserProperties + 1 not existing in the imported FBX
    private void OnPreprocessModel()
    {
        string[] extraUserPropertyNames =
        {
            "currentUVSet",
            "MyNonFbxDefaultProperty"
        };
        ((ModelImporter)assetImporter).extraUserProperties = extraUserPropertyNames;
    }

    //Importing a FBX with a user defined Property "MyDefinedProperty"
    private void OnPostprocessGameObjectWithUserProperties(GameObject go, string[] propNames, object[] values)
    {
        foreach (var propName in propNames)
        {
            Debug.Log(propName);
        }
    }

    // Will display :
    //  currentUVSet
    //  MyDefinedProperty
}
```
