Fixed HandsGui and added an icon to access worn inventories (#279)
* Fixed HandsGui children so that HandsGui is clickable * Added TextureButton for opening Storage items * Update ClientInventoryComponent.cs Fixed HandleComponentState so that it only updates the inventory when there are changes. * Implemented storage button on Inventory Adds a small button on the bottom right of Storage items when inside the inventory. When the button is pressed it opens the Storage UI.
This commit is contained in:
committed by
Pieter-Jan Briers
parent
1d9d01b355
commit
151d3a3672
@@ -60,6 +60,7 @@ namespace Content.Client.UserInterface
|
||||
|
||||
AddChild(new TextureRect
|
||||
{
|
||||
MouseFilter = MouseFilterMode.Ignore,
|
||||
Texture = TextureHandLeft,
|
||||
Size = _handL.Size,
|
||||
Position = _handL.TopLeft,
|
||||
@@ -68,6 +69,7 @@ namespace Content.Client.UserInterface
|
||||
|
||||
AddChild(new TextureRect
|
||||
{
|
||||
MouseFilter = MouseFilterMode.Ignore,
|
||||
Texture = TextureHandRight,
|
||||
Size = _handR.Size,
|
||||
Position = _handR.TopLeft,
|
||||
@@ -76,6 +78,7 @@ namespace Content.Client.UserInterface
|
||||
|
||||
AddChild(ActiveHandRect = new TextureRect
|
||||
{
|
||||
MouseFilter = MouseFilterMode.Ignore,
|
||||
Texture = TextureHandActive,
|
||||
Size = _handL.Size,
|
||||
Position = _handL.TopLeft,
|
||||
|
||||
Reference in New Issue
Block a user