2024-12-10 07:32:01 +08:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.UI;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using DG.Tweening;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class charainfoPanel : Base
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[Header("<22><><EFBFBD><EFBFBD><EFBFBD>Ǹ<EFBFBD><C7B8><EFBFBD><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]public GameObject _panel;
|
|
|
|
|
[Header("<22>رհ<D8B1>ť")] public Button closeBtn;
|
|
|
|
|
[Header("<22>رյ<D8B1><D5B5><EFBFBD><EFBFBD><EFBFBD>")] public GameObject _closePanel;
|
|
|
|
|
|
2024-12-12 17:05:28 +08:00
|
|
|
|
public virtual void Start()
|
2024-12-10 07:32:01 +08:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
//await PanelminTobig(_panel);
|
2024-12-12 17:05:28 +08:00
|
|
|
|
PanelminTobig(_panel);
|
2024-12-10 07:32:01 +08:00
|
|
|
|
|
|
|
|
|
closeBtn.onClick.AddListener(() => {
|
|
|
|
|
Destroy(_closePanel);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public virtual void PanelminTobig(GameObject _panel)
|
|
|
|
|
{
|
|
|
|
|
_panel.transform.localScale = new Vector3(0.5f, 0.5f, 0.5f);
|
|
|
|
|
_panel.transform.DOScale(1f, 0.5f);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|