public LHSettingsPage(ILoadablePage parent) { InitializeComponent(); this.parent = parent; this.currentTabImage = this.TabImage_Graphic; this.GrahpicTabSprite = new YuriSprite() { DisplayBinding = this.Grid_Tab_Graphic, AnimationElement = this.Grid_Tab_Graphic, Descriptor = new SpriteDescriptor() }; this.VoiceTabSprite = new YuriSprite() { DisplayBinding = this.Grid_Tab_Voice, AnimationElement = this.Grid_Tab_Voice, Descriptor = new SpriteDescriptor() }; this.KeyboardTabSprite = new YuriSprite() { DisplayBinding = this.Grid_Tab_Keyboard, AnimationElement = this.Grid_Tab_Keyboard, Descriptor = new SpriteDescriptor() }; this.OthersTabSprite = new YuriSprite() { DisplayBinding = this.Grid_Tab_Others, AnimationElement = this.Grid_Tab_Others, Descriptor = new SpriteDescriptor() }; }
public LHSaveLoadPage(ILoadablePage parent) { InitializeComponent(); this.parent = parent; this.SaveSlotSprite = new YuriSprite() { DisplayBinding = this.CanvasGroup_SaveSlots, AnimationElement = this.CanvasGroup_SaveSlots, Descriptor = new SpriteDescriptor() }; for (int i = 0; i < GlobalConfigContext.GAME_SAVE_MAX; i++) { this.saveList.Add(null); this.saveDescList.Add(null); this.slotContentList.Add(null); } }