delete obsolete script

This commit is contained in:
cyber-dream 2022-06-13 02:56:18 +03:00
parent 1f1f44e62c
commit eeac6659f4

View File

@ -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<Mob>().SendMessage("ApplyDamage", damage);
}
}
}