public void setHome(bool open) { if (open) { home.Enter(); } else { home.Exit(); } }
public void SetQuest(bool open) { if (open) { quest.gameObject.SetActive(true); q.Enter(); } else { quest.gameObject.SetActive(false); q.Exit(); } }
public void SetInventory(bool open) { if (open) { inventory.gameObject.SetActive(true); inv.Enter(); } else { inventory.gameObject.SetActive(false); inv.Exit(); } }