Exemplo n.º 1
0
 public void SetShield()
 {
     if (ShieldLevel < 1)
     {
         Trans_Shield.gameObject.SetActive(false);
         BattleCanvas.PlayerDisArm();
         return;
     }
     Trans_Shield.gameObject.SetActive(true);
     Trans_Shield.rotation = Quaternion.Euler(new Vector3(0, 0, ShieldAngle));
     BattleCanvas.PlayerShieldRotate();
 }