Advertisement
Guest User

Help4You

a guest
Jul 31st, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.53 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3. using UnityEngine.UI;
  4.  
  5. public class TextoComprado : MonoBehaviour
  6. {
  7.         public GameObject AvisoComprado;
  8.        
  9.         public IEnumerator AvisoCompra()
  10.         {
  11.             AvisoComprado.SetActive(true);
  12.                        
  13.             yield return new WaitForSeconds(2);
  14.                        
  15.             AvisoComprado.SetActive(false);
  16.         }
  17.        
  18.         void Start()
  19.         {
  20.  
  21.         }
  22.        
  23.         void Update()
  24.         {
  25.        
  26.         }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement