12345678910111213141516171819202122232425262728293031 |
- using UnityEngine;
- using UnityEngine.UI;
- using System.Collections;
- public class StartBtnContainer : MonoBehaviour
- {
- public Animator animator;
- public Text startLabel;
- public FreeVIPButton freeVIPBtn;
- void Awake()
- {
- startLabel.text = Language.GetStr ("MenuPage", "startBtn");
- }
- public void Show()
- {
- animator.Play (MenuUI.UIState.Show.ToString(), 0, 0);
- freeVIPBtn.Refresh ();
- }
- public void Hide()
- {
- animator.Play (MenuUI.UIState.Hide.ToString(), 0, 0);
- }
- }
|