1234567891011121314151617181920 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class CouponeWin : MonoBehaviour {
- // Use this for initialization
- public UITexture Texture;
- void OnHide () {
- GetComponent<ScreenBase>().Hide();
- }
- public void Init(Texture texture)
- {
- if (texture != null)
- {
- Texture.mainTexture = texture;
- }
- }
- }
|