Method GetRefRWOptional
GetRefRWOptional(Entity)
Obsolete. Use TryGetRefRW(Entity, out RefRW<T>) instead. ///
Declaration
[Obsolete("This function should not be part of the public API, and will be removed in a future release.")]
public RefRW<T> GetRefRWOptional(Entity entity)Parameters
| Type | Name | Description | 
|---|---|---|
| Entity | entity | The referenced entity | 
Returns
| Type | Description | 
|---|---|
| RefRW<T> | Returns a safe reference to the component data, or an invalid reference if  |