Skip to content
This repository was 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
rem02 wants to merge 8 commits intoKeenSoftwareHouse:masterfrom
rem02:UpdateGuiScreenScenario
Open

Update gui screen scenario (remove and open in workshop button )#560
rem02 wants to merge 8 commits intoKeenSoftwareHouse:masterfrom
rem02:UpdateGuiScreenScenario

Conversation

@rem02
Copy link
Copy Markdown

@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.

base.BuildControls();

Vector2 buttonSize = MyGuiConstants.BACK_BUTTON_SIZE;
Vector2 buttonsOrigin = m_size.Value / 2 - new Vector2(0.65f, 0.1f);
Copy link
Copy Markdown
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