23 lines
535 B
C#
23 lines
535 B
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
using UnityEngine.SceneManagement;
|
|||
|
using UnityEngine.UI;
|
|||
|
|
|||
|
public class DownPanel : Base
|
|||
|
{
|
|||
|
public List<Button> btns = new List<Button>();
|
|||
|
// Start is called before the first frame update
|
|||
|
void Start()
|
|||
|
{
|
|||
|
btns[0].onClick.AddListener(async() => {
|
|||
|
|
|||
|
await ButtonClickAnimationAsync(btns[0].gameObject);
|
|||
|
Debug.LogError("++++<2B><>++++ת++++<2B><>++++<2B><>++++");
|
|||
|
SceneManager.LoadScene(2);
|
|||
|
});
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
}
|