// Update is called once per frame
 void Update()
 {
     if (mc == null)
     {
         mc = MagicCore.Instance;
     }
     if (Hp != null)
     {
         Hp.text = mc.getHP().ToString();
     }
     if (Attack != null)
     {
         Attack.text = mc.getMaxATK().ToString();
     }
     if (Defend != null)
     {
         Defend.text = mc.getMaxDEF().ToString();
     }
 }