27 lines
385 B
C#
27 lines
385 B
C#
|
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();
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|