public override void Initialize() { BackDialog backDialog = new BackDialog(); backDialog.SelectionCallback = HandleBackDialogDismiss; Dialog = backDialog; base.Initialize(); CreateContent(Credits_Content_Elements_File); }
public override void Initialize() { base.Initialize(); _backDialog = new BackDialog(); _backDialog.InputSources = _inputProcessors; _backDialog.SelectionCallback = HandleBackDialogDismiss; _motionController.AddMobileObject(_backDialog); RegisterGameObject(_backDialog); CreateContent(_contentFileName); }