public FaceDetailsCreatorScreen(FaceDetailsCreatorState faceDetailsCreatorState) { LoadingWindow.EnableGlobalLoadingWindow(false); this._faceDetailsCreatorState = faceDetailsCreatorState; this._facegenLayer = new BodyGeneratorView(new ControlCharacterCreationStage(this.OnExit), GameTexts.FindText("str_done", null), new ControlCharacterCreationStage(this.OnExit), GameTexts.FindText("str_cancel", null), faceDetailsCreatorState.EditHero.CharacterObject, false, null); }
public void ExecuteFaceDetailsCreator() { TaleWorlds.Core.FaceGen.ShowDebugValues = true; FaceDetailsCreatorState state = Game.Current.GameStateManager.CreateState <FaceDetailsCreatorState>(new object[] { this._selectedHero, }); Game.Current.GameStateManager.PushState(state, 0); }