Effect(九)—— OnlySoundEffect

来源:互联网 发布:星星知我心插曲 编辑:程序博客网 时间:2024/06/08 08:35

目录为:Assets/Scripts/Effect/目录下
OnlySoundEffect.cs

using UnityEngine;using System.Collections;using System.Collections.Generic;//技能中只有声音的特效public class OnlySoundEffect: IEffect{    //构造函数    public OnlySoundEffect()    {    }    public override void Update()    {        if (isDead)        {            return;        }        base.Update ();    }}