Box Shape for the Dynamic Origin behavior on the On-Screen Stick. #1654
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Description
This change affects the dynamic origin system for the on-screen stick.
The dynamic origin joystick is intended for mobile use, and in most games that use it (think Rocket League: Sideswipe, or Minecraft), the area of its use is on the left side of the screen.

However, in the current version, the stick can only use a circle as a dynamic origin area.
Now, users can use a RectTransform component on a GameObject to perfectly match half the screen, as well as any other box users want.

An added benefit is the fact that RectTransforms can be anchored and resized according to the window size.

Changes made
On Screen Stick component options changed to accommodate the extra feature.

You can place a RectTransform into the Origin Transform component field to use a box shaped area.
Notes
No gizmo for the shape of the RectTransform yet. However, clicking on the GameObject that holds the RectTransform will show a gizmo anyway.
The circle dynamic origin shape (the original one) does not update to accommodate for changing window sides. This is an issue because mobile devices are some of the most variable device proportions.