24 lines
517 B
C#
24 lines
517 B
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
using DG.Tweening;
|
|||
|
|
|||
|
|
|||
|
//<2F><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
|
|||
|
public class main_BaseShowPanel : MonoBehaviour
|
|||
|
{
|
|||
|
[Header("<22><><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD>panel<65><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>")]
|
|||
|
public GameObject _panel;
|
|||
|
public void showPanel(GameObject panel)
|
|||
|
{
|
|||
|
if (panel == null)
|
|||
|
{
|
|||
|
Debug.LogError("panel==null");
|
|||
|
return;
|
|||
|
}
|
|||
|
panel.transform.localScale = new Vector3(0.5f, 0.5f, 0.5f);
|
|||
|
panel.transform.DOScale(1f, 0.8f);
|
|||
|
}
|
|||
|
|
|||
|
}
|