branchrust_reboot/main/modding_cui_mergescancel
17 Commits over 0 Days - ∞cph!
Fix verticalNormalizedPosition not starting at 1 (top of screen)
- fix pivot missing from normal UI elements
- fix rotation missing from ScrollRect
Make new empty methods for oxide to hook, original ones got deleted when fighting with codegen
merge from main -> modding_cui_merges
Add Vector4Ex.Parse(), switch from Color.Parse() -> Vector4Ex.Parse()
- update Vector3Ex.Parse() to use TryParse() like Vector2Ex.Parse() (safe because the method is only used in one place in codebase surprisingly)
- add some comments too
Update from repo after merging 9 slice support
merge from main -> modding_cui_merges
Fix incorrect codegen (I tested for compile errors before merging but ok)
Add BasePlayer to front of `DragRPC()` and `DropRPC()` modded server hook methods
Expose ability to set scroll view normalized position
- horizontalNormalizedPosition
- verticalNormalizedPosition
Only allow spaces between padding to follow with how Vector2Ex.Parse() works
Merge layout group PR #75
Allow the other way around and let any graphic object declare itself as the placeholder
- a Text object sent after an InputField can define `placeholderParentId` with the ID of the input field to make itself the placeholder without having to ensure the child text is sent before the input field
Rename placeholder -> placeholderId
Add support for input fields to assign a placeholder graphic manually
- up to the server to ensure they send the placeholder text (or image?) before the input field is sent (can be same RPC, needs to be ordered correctly or will print warnings)