18 lines
403 B
C#
18 lines
403 B
C#
using System;
|
|
using NaughtyAttributes.Test;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace DefaultNamespace
|
|
{
|
|
public class WorkTicketComponent:MonoBehaviour
|
|
{
|
|
public void Start()
|
|
{
|
|
this.GetComponent<Button>().onClick.AddListener(delegate
|
|
{
|
|
GameObject.Find("APP/UICanvas/工作单UI").SetActive(true);
|
|
});
|
|
}
|
|
}
|
|
} |