Ejemplo n.º 1
0
    private void BackButtonActionInSubOptions(GameObject parent)
    {
        myOptions.EnableClickInButtons(true);
        mySoundsProvider.PlayAudioClick();

        mySubOptions.UnfocusCurrentSubOption(parent);

        mySubOptions.AddListenerToBackButtonInSubOptionMenu(parent.transform.GetChild(0).gameObject, true, myOptions.GetIndexOfOptionFocused());

        myOptions.SetIndexOfOptionFocused(0);
        bIsOptionsFocused = true;
    }
Ejemplo n.º 2
0
 public void BackToOptions(int optionFocusedIndex)
 {
     myOptions.SetIndexOfOptionFocused(optionFocusedIndex);
     myOptions.ResetOptions();
     myOptions.EnableClickInButtons(true);
 }