Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Reloading Text

$
0
0
How can make to disappear the text?

i tried with "yield return new WaitForSeconds" but not working.

Script:
Code (CSharp):
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class GunController : MonoBehaviour
  5. {
  6.  
  7.     public Transform weaponHold;
  8.     public Gun[] allGuns;
  9.     Gun equippedGun;
  10.  
  11.     public GameObject reloadingText;
  12.  
  13.     void Start()
  14.     {
  15.         reloadingText.SetActive(false);
  16.     }
  17.  
  18.     public void EquipGun(Gun gunToEquip)
  19.     {
  20.         if (equippedGun != null)
  21.         {...
Reloading Text

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>