CangJie/Assets/Scripts//ThunderAtk.cs

33 lines
511 B
C#
Raw Normal View History

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();
}
}