# CompanionRef

> The reference to the UnityEngine.Component that this component exposes on the entity.

## Definition

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

```csharp
public UnityObjectRef<T> CompanionRef
```
