using System.Collections; using System.Collections.Generic; using UnityEngine; public class fireContro : MonoBehaviour { public Attack attack; // Start is called before the first frame update void Start() { } public void StartAttack() { attack.Fireattack(); } public void EndAttack() { attack.EndFire(); } }