Method ReadComponent
ReadComponent<T>(BinaryReader)
Reads a component from the binary reader.
Declaration
public static T ReadComponent<T>(this BinaryReader reader) where T : Component
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryReader | reader |
Returns
| Type | Description |
|---|---|
| T | The component that has been read. |
Type Parameters
| Name | Description |
|---|---|
| T |