using System.Collections; using System.Collections.Generic; using UnityEngine; public class ThunderAtk : MonoBehaviour { public Player player; public ThunderController controller; void Start() { } // Update is called once per frame void Update() { } public void LightAtk() { Debug.Log("打雷咯"); } public void DesTroyThunder() { Destroy(gameObject); } public void Next() { controller.NextLightAtk(); } }