# Combine

> Returns a new PropertyPath combining the parts of the two given PropertyPath.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Properties](/engine/6000.0/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

## Combine(PropertyPath, PropertyPath)

Returns a new [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md) combining the parts of the two given [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md).

```csharp
public static PropertyPath Combine(in PropertyPath path, in PropertyPath pathToAppend)
```

### Parameters

**** (\[PropertyPath]\(/engine/6000.0/script-reference/unity/properties/propertypath)): The [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md)**** (\[PropertyPath]\(/engine/6000.0/script-reference/unity/properties/propertypath)): The [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md) to append.

### Returns

| Type                                                                             | Description                                                                            |
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md) | A new [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md) |

## Combine(PropertyPath, string)

Returns a new [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md) combining the parts of the two given [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md).

```csharp
public static PropertyPath Combine(in PropertyPath path, string pathToAppend)
```

### Parameters

**** (\[PropertyPath]\(/engine/6000.0/script-reference/unity/properties/propertypath)): The [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md)**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The string path to append.

### Returns

| Type                                                                             | Description                                                                            |
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md) | A new [PropertyPath](/engine/6000.0/script-reference/unity/properties/propertypath.md) |
