//-------------------------------------------------------- // [Author]: 玩个游戏 // [ Date ]: Friday, September 29, 2017 //-------------------------------------------------------- using UnityEngine; using System.Collections; using UnityEngine.UI; using System; using UnityEngine.EventSystems; public class UIFuncOpen : MonoBehaviour, IPointerClickHandler { [SerializeField] int funcOpenKey; [SerializeField] GameObject LockImg; [SerializeField] bool active = true; public int id { get { return funcOpenKey; } } private Button funcBtn; private void Awake() { funcBtn = GetComponent