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