using System.Collections; using System.Collections.Generic; using DG.Tweening; using UnityEngine; using UnityEngine.UI; using ZXK.Framework; using ZXK.BYSS; using ZXK.UTility; namespace ZXK.BYSS { public class VCRPanel : UIBase { protected override void Awake() { base.Awake(); } private void Start() { var v = GetWedage("Close_N"); AddEventListener("Close_N", UIEventType.OnButtonClick, () => { GameObject.Find("VCRPanel").transform.DOScale(0.0f, 0.3f); GameObject.Find("VCRPanel").gameObject.SetActive(false); }); } } }