示例#1
0
    public override void OnShow()
    {
        base.OnShow();

        UFE.SetPlayer1(null);
        UFE.SetPlayer2(null);
        this.SetHoverIndex(1, 0);
        this.SetHoverIndex(2, this.GetSelectableCharacters().Length - 1);
    }
    public override void OnShow()
    {
        base.OnShow();

        if (UFE.gameMode == GameMode.StoryMode)
        {
            this.selectableCharacters = UFE.GetStoryModeSelectableCharacters();
        }
        else if (UFE.gameMode == GameMode.TrainingRoom)
        {
            this.selectableCharacters = UFE.GetTrainingRoomSelectableCharacters();
        }
        else
        {
            this.selectableCharacters = UFE.GetVersusModeSelectableCharacters();
        }

        UFE.SetPlayer1(null);
        UFE.SetPlayer2(null);
        this.SetHoverIndex(1, 0);
        this.SetHoverIndex(2, this.selectableCharacters.Length - 1);
    }