# OnCreate()

> Initializes this command buffer system.

## Definition

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

```csharp
protected override void OnCreate()
```

### Remarks

If you override this method, you should call `base.OnCreate()` to retain the default initialization logic.
