Exemplo n.º 1
0
 private bool onSwitchToInventory(ClothingDesignerUIEvents.ChangeStateInventory evt)
 {
     currentState.ExitState();
     currentState = noInventorySelectionState;
     noInventorySelectionState.EnterState(new CustomizerGestureModel());
     return(false);
 }
 private bool onStateChangeInventory(ClothingDesignerUIEvents.ChangeStateInventory evt)
 {
     if (isFromCatalog)
     {
         showCatalog();
     }
     else
     {
         updateScreen(ClothingDesignerState.Inventory, "InventoryEquipmentScreen");
         ClothingDesignerContext.EventBus.DispatchEvent(new ClothingDesignerUIEvents.UpdateCameraState(ClothingDesignerCameraState.Inventory, animateCamera: true));
     }
     return(false);
 }
 private bool onTemplateState(ClothingDesignerUIEvents.ChangeStateInventory evt)
 {
     challengeHeaderImage.gameObject.SetActive(value: false);
     return(false);
 }