CompetitionCloseButtonHandler.cs 227 B

12345678910
  1. using UnityEngine;
  2. using System.Collections;
  3. public class CompetitionCloseButtonHandler : MonoBehaviour {
  4. void OnClick()
  5. {
  6. this.transform.parent.parent.gameObject.GetComponent<ScreenBase>().Hide();
  7. }
  8. }