Example #1
0
 private void OnLaneTabstripSelectedIndexChanged(UIComponent component, int value)
 {
     if (_ignoreEvents)
     {
         return;
     }
     NetworkSkinPanelController.SetLaneAndRefreshUI((LanePosition)value);
 }
Example #2
0
 private void OnLockClicked(UIComponent component, UIMouseEventParameter eventParam)
 {
     Persistence.LanePositionLocked = !Persistence.LanePositionLocked;
     if (Persistence.LanePositionLocked)
     {
         LockLaneTabs();
     }
     else
     {
         UnlockLaneTabs();
     }
     NetworkSkinPanelController.SetLaneAndRefreshUI(NetworkSkinPanelController.LanePosition);
 }