1234567891011121314151617181920 |
- using UnityEngine;
- using System.Collections;
- public class UIButtonCouponeInfo : MonoBehaviour
- {
- public UILabel CouponeInfoName;
- public int CouponeIndex;
- // Use this for initialization
- public void Rename (string str)
- {
- CouponeInfoName.text = str;
- }
- void OnClick()
- {
- NGUIMenuScript.Instance.UiGetCoupone.CouponeInit(ServerGiftManager.Instance.Coupons[CouponeIndex]);
- }
-
-
- }
|