using System.Collections; using System.Collections.Generic; using UnityEngine; public class XuanYun : MonoBehaviour { public void DesSelf(float time) { Destroy(gameObject,time); } }