using System.Collections; using System.Collections.Generic; using UnityEngine; public class FloatPrefabEvent : MonoBehaviour { /// /// 动画完成后 /// void OnAnimationComplete() { GameObject.Destroy(this.gameObject); } }