Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Update gui screen scenario (remove and open in workshop button ) #560

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

rem02
Copy link

@rem02 rem02 commented Sep 12, 2016

Hi,
I updated the scenario screen for "remove" and "open in workshop" button.
For "open in workshop button", it's simple, i used the url and the WorkshopId for create an url.
For "remove button", i used UnsubscribeItem method of SteamAPI for unsubscribe. the remove button is disable for KSH's scenarios and for "user's save". (i don't know if the "user's save" can be remove by this button. so i did not implement the RemoveLocal method.

@@ -95,9 +93,6 @@ protected override void BuildControls()
{
base.BuildControls();

Vector2 buttonSize = MyGuiConstants.BACK_BUTTON_SIZE;
Vector2 buttonsOrigin = m_size.Value / 2 - new Vector2(0.65f, 0.1f);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never used

@rem02 rem02 changed the title Update gui screen scenario Update gui screen scenario (remove and open in workshop button ) Sep 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant