diff --git a/ldjam50/Assets/Scripts/Abilities/Ultraviolet.cs b/ldjam50/Assets/Scripts/Abilities/Ultraviolet.cs deleted file mode 100644 index 5bda3e4..0000000 --- a/ldjam50/Assets/Scripts/Abilities/Ultraviolet.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class Ultraviolet : MonoBehaviour -{ - [SerializeField] private GameObject beam; - - [SerializeField] private float rotationSpeed; - - [SerializeField] private float damage; - // Start is called before the first frame update - void Start() - { - - } - - // Update is called once per frame - void Update() - { - //beam.transform.rotation.eulerAngles += new Vector3(0, 0 0.2f); - transform.Rotate(new Vector3(0,0,1), rotationSpeed * Time.deltaTime); - } - - void OnTriggerEnter2D(Collider2D col) - { - if (col.gameObject.CompareTag("Mob")) - { - col.gameObject.GetComponent().SendMessage("ApplyDamage", damage); - } - } -}