Exemplo n.º 1
0
 protected override void Enable()
 {
     m_frame = new DeckMakerFrame
     {
         onRemoveConfigResult = OnRemoveDeckResult,
         onSaveConfigResult   = OnSaveResult
     };
 }
Exemplo n.º 2
0
 protected override void Enable()
 {
     m_frame = new DeckMakerFrame
     {
         onSelectDeckAndWeaponResult = OnSelectDeckAndWeaponResult
     };
     m_ui.OnEditRequest                      += OnEditDeckRequest;
     m_ui.OnGotoEditAnimComplete             += OnGotoEditAnimComplete;
     m_ui.OnEquipWeaponRequest               += EquipWeapon;
     m_ui.OnSelectDeckForWeaponRequest       += SelectDeckForWeaponDeckForWeapon;
     m_modifications.OnSelectedDecksUpdated  += OnEquippedDecksUpdated;
     m_modifications.OnSelectedWeaponUpdated += OnSelectedWeaponUpdated;
 }