How can make to disappear the text?
i tried with "yield return new WaitForSeconds" but not working.
Script:
Reloading Text
i tried with "yield return new WaitForSeconds" but not working.
Script:
Code (CSharp):
- using UnityEngine;
- using System.Collections;
- {
- public Transform weaponHold;
- public Gun[] allGuns;
- Gun equippedGun;
- public GameObject reloadingText;
- {
- reloadingText.SetActive(false);
- }
- public void EquipGun(Gun gunToEquip)
- {
- if (equippedGun != null)
- {...