// Called when PROCESS BUTTON clicked
 public void processClick()
 {
     perm_icons.SetActive(true);
     mainCanvas.SetActive(false);
     // Collect all ids
     trash.deleteAllSlots();
     inventory.makeAvailableToTransfer(true);
     trash.makeAvailableToTransfer(true);
     trash.setother(null);
     inventory.setother(null);
     interactionState.finsihState(canvas);
     stage = "available";
     //disselect all slots
     EventSystem.current.SetSelectedGameObject(null);
 }
Example #2
0
 // Called when LEAVE BUTTON clicked
 public void leaveClick()
 {
     storage.setother(null);
     inventory.setother(null);
     interactionState.finsihState(canvas);
     stage = "available";
 }