# PropertyName

> Initializes the PropertyName using a string.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## PropertyName(string)

Initializes the PropertyName using a string.

```csharp
public PropertyName(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

## PropertyName(PropertyName)

Initializes the PropertyName using a string.

```csharp
public PropertyName(PropertyName other)
```

### Parameters

**** (\[PropertyName]\(/engine/6000.7/script-reference/unityengine/propertyname)):&#x20;

## PropertyName(int)

Initializes the PropertyName using a string.

```csharp
public PropertyName(int id)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;
