This project is read-only.


The SelectedState class gives you information about what the user has selected in the app. This includes which ElementSave (that is ScreenSave, ComponentSave, or StandardElementSave)/ InstanceSave/ StateSave is selected.

Simple example:

To get the current ScreenSave:

var currentScreen = Gum.ToolStates.SelectedState.Self.SelectedScreen;

To get the current InstanceSave:

var currentInstance = Gum.ToolStates.SelectedState.Self.SelectedInstance;

Last edited Sep 10, 2014 at 11:47 PM by vchelaru, version 2


No comments yet.