CangJie/Assets/Scripts//ThunderAtk.cs
lspdC d5836fec13 3.21(未合并)
完成火焰,碎石交互,武器升级替换。
设置好打雷演出框架,自动追击的雷击框架,尚未加入碰撞判定。
2022-03-21 19:49:15 +08:00

33 lines
511 B
C#

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