Method TryGetComponentObject
TryGetComponentObject<T>(Entity, out T)
Attempts to get the managed UnityEngine.Component object from an entity.
Declaration
[ExcludeFromBurstCompatTesting("Returns managed object")]
public bool TryGetComponentObject<T>(Entity entity, out T result)
Parameters
| Type | Name | Description |
|---|---|---|
| Entity | entity | |
| T | result |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T |