repoRust.Communitycancel

33 Commits over 2,741 Days - 0.00cph!

10 Days Ago
DragDrop Server RPCs Fix cui_test command blocking "Exit" button due to UpdateLabel being full screen Allow button colors when hovered / pressed to be modified
10 Days Ago
Add JSON API for Draggables & Slots, add parent options to transform Added the JSON API required to setup & update Draggables & Slots. Also added the ability to reparent & order a transform if called via an update call, this is needed to allow reparenting a Draggable fixed GetComponent for slot Draggable Component Slot Component Draggable Test Json Update Init fix Fix Illegal Swapping, Prevent DragRPC Fix a potential illegal swap when a panel inside a restricted slot was swapped with a non-slotted panel. Changed DragRPC to not send when a swap/attach operation fails & the panel will reset to its last position, the change was made because in those situations, a player didnt intend to drag the panel, they intended to attach it. Fix DragRPC on attachment fail fixed attachement fail sending a DragRPC, also properly sets the position of panels that can be dropped anywhere Fix example Add Callbacks (Used by Animation) More Robust LimitToParent Approach the previous approach used offsets, only modifying the position if the new position would be within bounds. this caused awkward behaviour where the dragged object would stop long before its actual bounds. this was also framerate dependant as it would make bigger leaps on lower framerates, making it more likely that the new position would have been out of bounds and increasing the apparent distance from its bounds after actually testing the PR in game i've realized it is safe to just use the absolute position (anchor + offset) and to constrain that to the rect with respect to the padding. Updated Test after rust client testing adding default sprites and changed some images to use Image instead Fix parent issues (caching & anchoring) the draggable now consider's both the parent's position and scale instead of just its scale when determining if its bounds need to be recached - this solves an issue with animated elements having cached old bounds the anchor now also gets parented based on the parentLimitIndex, previously it was parented to the draggable's initial parent which brought with it unwanted behaviour when that parent was moving Merge branch 'Facepunch:master' into DragnDrop Move example to Test folder Merge branch 'Facepunch:master' into DragnDrop Merge branch 'master' into DragnDrop Merge branch 'master' into DragnDrop Merge pull request #55 from Kulltero/DragnDrop Adding Drag & Drop Support via Draggables & Slots Rename Slot -> DraggableSlot to avoid naming conflict, fix compile errors / warnings Get rid of javascript style braces Merge branch 'drag_drop'
11 Days Ago
Get rid of javascript style braces
11 Days Ago
Rename Slot -> DraggableSlot to avoid naming conflict, fix compile errors / warnings
11 Days Ago
Add JSON API for Draggables & Slots, add parent options to transform Added the JSON API required to setup & update Draggables & Slots. Also added the ability to reparent & order a transform if called via an update call, this is needed to allow reparenting a Draggable fixed GetComponent for slot Draggable Component Slot Component Draggable Test Json Update Init fix Fix Illegal Swapping, Prevent DragRPC Fix a potential illegal swap when a panel inside a restricted slot was swapped with a non-slotted panel. Changed DragRPC to not send when a swap/attach operation fails & the panel will reset to its last position, the change was made because in those situations, a player didnt intend to drag the panel, they intended to attach it. Fix DragRPC on attachment fail fixed attachement fail sending a DragRPC, also properly sets the position of panels that can be dropped anywhere Fix example Add Callbacks (Used by Animation) More Robust LimitToParent Approach the previous approach used offsets, only modifying the position if the new position would be within bounds. this caused awkward behaviour where the dragged object would stop long before its actual bounds. this was also framerate dependant as it would make bigger leaps on lower framerates, making it more likely that the new position would have been out of bounds and increasing the apparent distance from its bounds after actually testing the PR in game i've realized it is safe to just use the absolute position (anchor + offset) and to constrain that to the rect with respect to the padding. Updated Test after rust client testing adding default sprites and changed some images to use Image instead Fix parent issues (caching & anchoring) the draggable now consider's both the parent's position and scale instead of just its scale when determining if its bounds need to be recached - this solves an issue with animated elements having cached old bounds the anchor now also gets parented based on the parentLimitIndex, previously it was parented to the draggable's initial parent which brought with it unwanted behaviour when that parent was moving Merge branch 'Facepunch:master' into DragnDrop Move example to Test folder Merge branch 'Facepunch:master' into DragnDrop Merge branch 'master' into DragnDrop Merge branch 'master' into DragnDrop Merge pull request #55 from Kulltero/DragnDrop Adding Drag & Drop Support via Draggables & Slots
11 Days Ago
Refactor ServerImage.cs to return sprites directly & use ImageRequest class for pending image requests from the server Update with fixes from Rust repo
11 Days Ago
3 Months Ago
Add files via upload Added the enum for the available icons usable in the loading screen menu tip message for December's patch.
4 Months Ago
Make steam avatar use RawImage, add test example
4 Months Ago
Added player avatar Merge pull request #61 from rostov114/patch-1 Added player avatar
4 Months Ago
Update from rust repository
6 Months Ago
Added new time formats and support for custom formatting in Countdown Added new time formats and support for custom formatting in Countdown fix Improvements Improvements Merge pull request #63 from DezLife/Countdown Added new time formats and support for custom formatting in Countdown
7 Months Ago
Reapplied changes, added TimerFormat setting adds the ability to format the number as a timer with various presets Re-Applied JSON API changes Oops.yaml Ensure Unique Names for unnamed panels if panels are expected to be found by name then the name should be unique by default, the Countdown component requires this because it now re-uses the DestroyPanel function from the main class, but other branches like the animation branch benefit from this aswell Upload Countdown Test example Added Reset method just resets the Update Invoke Call Reset if the Interval gets updated Update Missing sprites Merge branch 'Facepunch:master' into CountdownImprovements Fix Invoke post Client hashing switch to using InvokeHandler based Invokes to avoid FP's client hashing from breaking text invokes, its possible nameof could have worked but i dont know enough about their build step to confirm that Move example json to test folder Undo invoke change & fix spacing undo invoke changes as there is a fix for string based invokes Merge changes Removed the new GUID for every unnamed component - this broke our internal community UI test and would have likely posed issues for general back compatibility Some minor formatting changes Thanks for the PR! Merge pull request #56 from Kulltero/CountdownImprovements Countdown improvements
10 Months Ago
Typo fix
11 Months Ago
ReApply after merge conflicts Implementation of Unity's ScrollRect, including a Mask & ChildCanvas for better performance Added Scrollbar support, allowing the customization of color, thickness Added mask softness for RectMask2D added in Unity 2019.4.20 Added Update support for Scrollviews Added enable support for scrollbars no Selective Update support for individual Scrollbars as they are in a sub json object, could be added by replicating the ShouldUpdateField with the sub object revert offsetmax fix reversed offsetmax fix because alot of UIs rely on it Fixes after validating code within Client this PR addresses issues i identified while modding this PR into the game for testing, other than these changes it works as expected with the test JSON provided (after it is updated) Updated example updated scroll example to actually look the part in the client really appreciating whoever put Assets/Icons/rust.png instead of Assets/Content/UI/UI.Background.Tile.psd as the default sprite for RawImages btw Reduce needless recursion retains the same functionality Fix FindPanel issues due to ghost scrollview entries if a scrollview was indirectly destroyed its entry would remain causing subsequent lookups for the same name to not return anything. disabled the scrollview redirect when looking for a panel to update, this allows the code to correctly find and update the GameObject containing the scrollview instead of its content Merge branch 'master' into pr/54 Moved the test into it's own folder Will be better for future tests Remove mask.softness reference Unsure what unity version this was added in but we don't currently support this property Merge pull request #54 from Kulltero/ScrollView Adding Support for Scrollable Containers
11 Months Ago
Update from main rust repo New RPC syntax
1 Year Ago
Update from rust repo
1 Year Ago
Fixed default string value of input field text Update from repository Includes skin icon fix and text vertical overflow Added HudMenuInput support for input fields Added ability to destroy ui within AddUI rpc Prevents Mipmap stuff from affecting image quality this has been the primary reason why loading images from the web gets no usage, this fix makes images load the same as if they came from the server, creating a better development experience Merge pull request #43 from Kulltero/FixWebImageQuality Prevents Mipmap from destroying image quality Merge changes from Rust repo (texture caching and demo fixes) Merge pull request #40 from TactiTac0z/master Added ability to destroy ui within AddUI rpc Merge branch 'master' into update
2 Years Ago
Added ability to destroy ui within AddUI rpc Merge pull request #40 from TactiTac0z/master Added ability to destroy ui within AddUI rpc
2 Years Ago
Merge changes from Rust repo (texture caching and demo fixes)
2 Years Ago
Prevents Mipmap stuff from affecting image quality this has been the primary reason why loading images from the web gets no usage, this fix makes images load the same as if they came from the server, creating a better development experience Merge pull request #43 from Kulltero/FixWebImageQuality Prevents Mipmap from destroying image quality
3 Years Ago
Added HudMenuInput support for input fields
3 Years Ago
Update from repository Includes skin icon fix and text vertical overflow
3 Years Ago
Fixed default string value of input field text
3 Years Ago
Add support for updating UI elements in place without destroying Uses a new "update" field in the AddUI convar that allows for specific variables on a previously created and named UI element to be modified.
3 Years Ago
Fix countdown not working Merge branch 'pr/32'
3 Years Ago
Add needsKeyboard option to InputField Will only block input while the input field is actually focused.
3 Years Ago
Apply changes from Rust project
3 Years Ago
Compile fix
3 Years Ago
Clear material when loading an item icon Add NeedsKeyboard support
3 Years Ago
Item icons texture support for Image component Small improvements to InputField Fixed default text Added "readOnly" Added "lineType" Initializes the UI Game Object with a Rect Transform Merge branch 'pr/28' Merge branch 'pr/22'
7 Years Ago
Fixed NRE in AddUI
7 Years Ago
Updated ServerImage to new FileStorage API