# TypeGenerationOptions

> A set of options to customize the behaviour of the code generator.

## Definition

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

```csharp
[Flags]
public enum TypeGenerationOptions
```

## Fields

| Value                                                                                                    | Description                                                                                                                                                                                                                                                                                                    |
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Default](/engine/6000.5/script-reference/unity/properties/typegenerationoptions/default.md)             | The default set of type options. This includes both [TypeGenerationOptions.ValueType](/engine/6000.5/script-reference/unity/properties/typegenerationoptions/valuetype.md) and [TypeGenerationOptions.ReferenceType](/engine/6000.5/script-reference/unity/properties/typegenerationoptions/referencetype.md). |
| [None](/engine/6000.5/script-reference/unity/properties/typegenerationoptions/none.md)                   | If this option is selected, no property bags will be generated.                                                                                                                                                                                                                                                |
| [ReferenceType](/engine/6000.5/script-reference/unity/properties/typegenerationoptions/referencetype.md) | If this option is selected, any inherited reference types will have property bags generated.                                                                                                                                                                                                                   |
| [ValueType](/engine/6000.5/script-reference/unity/properties/typegenerationoptions/valuetype.md)         | If this option is selected, any inherited value types will have property bags generated.                                                                                                                                                                                                                       |
