24 lines
442 B
C#
24 lines
442 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class Buttonitem : Anim
|
|
{
|
|
public Button btn;
|
|
void Start()
|
|
{
|
|
btn = this.gameObject.GetComponent<Button>();
|
|
btn.onClick.AddListener(() =>
|
|
{
|
|
BTnmove(btn.gameObject);
|
|
});
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|