Example #1
0
 //opens the spell crafting menu
 public void SpellMenu()
 {
     hudUI.SetActive(false);
     Time.timeScale = 0f;
     isPaused       = true;
     Cursor.SetCursor(null, Vector2.zero, CursorMode.Auto);
     spellMenuUI.SetActive(true);
     spellCraftMenu.LoadSpell(spellController.getSpellSlot());
     pauseMenuUI.SetActive(false);
 }