コード例 #1
0
    // Use this for initialization
    void Awake()
    {
        if (_instance != null)
        {
            return;
        }
        _instance = this;

        if (m_close != null)
        {
            m_close.onClick.AddListener(() => { UIInterface.Instance.CloseLeaderBoard(); });
        }
    }
コード例 #2
0
 private void OnEnable()
 {
     castedTarget = (UILeaderboard)target;
 }