Method IsOverShoulder
IsOverShoulder(Transform)
Check whether the specified transform is over the viewer's shoulders and behind the head
Declaration
bool IsOverShoulder(Transform rayOrigin)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | rayOrigin | The rayOrigin to test |
Returns
| Type | Description |
|---|---|
| bool | Whether the specified transform is over the viewer's shoulders and behind the head |