Esempio n. 1
0
    private void ToggleCharacterSheet()
    {
        var canvas = GameObject.FindGameObjectWithTag("Canvas");

        canvas.GetComponent <Inventory>().Refresh();
        characterSheet.GetComponent <DuloGames.UI.UIWindow>().Toggle();
        DropsArea.ClearDrops();
    }
Esempio n. 2
0
 public void OnClick()
 {
     if (PlayerCharacter.localPlayer.inventory.items.Contains(item))
     {
         GameObject.FindGameObjectWithTag("Canvas").GetComponent <Inventory>().Refresh();
         DropsArea.OpenInventory();
     }
     DropsArea.ClearDrops();
 }
Esempio n. 3
0
    private void ToggleInventory()
    {
        var canvas = GameObject.FindGameObjectWithTag("Canvas");

        canvas.GetComponent <Inventory>().Refresh();
        //inventory.SetActive(!inventory.activeSelf);
        inventory.GetComponent <DuloGames.UI.UIWindow>().Toggle();
        DropsArea.ClearDrops();
    }
Esempio n. 4
0
 private void ToggleAbilityMenu()
 {
     abilityScreen.GetComponent <DuloGames.UI.UIWindow>().Toggle();
     DropsArea.ClearDrops();
 }
Esempio n. 5
0
 public void ToggleInventory()
 {
     canvas.GetComponent <Inventory>().Refresh();
     inventory.GetComponent <DuloGames.UI.UIWindow>().Toggle();
     DropsArea.ClearDrops();
 }