# ConstructSystem

> Construct a System from a Type. Uses the same list in TypeManager.GetSystems.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

## ConstructSystem(Type)

Construct a System from a Type. Uses the same list in [TypeManager.GetSystems](/engine/7000.0/script-reference/unity/entities/typemanager/getsystems.md).

```csharp
public static ComponentSystemBase ConstructSystem(Type systemType)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The system type.

### Returns

| Type                                                                                         | Description             |
| -------------------------------------------------------------------------------------------- | ----------------------- |
| [ComponentSystemBase](/engine/7000.0/script-reference/unity/entities/componentsystembase.md) | Returns the new system. |

## ConstructSystem\<T>()

Creates an instance of a system of type T.

```csharp
public static T ConstructSystem<T>() where T : ComponentSystemBase
```

### Returns

| Type | Description                               |
| ---- | ----------------------------------------- |
| T    | Returns the newly created system instance |

## ConstructSystem\<T>(Type)

Creates an instance of a system of System.Type.

```csharp
public static T ConstructSystem<T>(Type systemType) where T : ComponentSystemBase
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): System type to create

### Returns

| Type | Description                               |
| ---- | ----------------------------------------- |
| T    | Returns the newly created system instance |
