Ejemplo n.º 1
0
 public void Start()
 {
     descriptor = (InventDescScript)Object.FindObjectOfType(typeof(InventDescScript));
     if (!DebugMode)
     {
         ThingsToSay = ("Mission Objective:@Eliminate the experimental jet.@@Weapons and equipment are OSP(On - Site Procurement).@@Good luck. Press space to close this window.");
         StartCoroutine(ShowText(ThingsToSay));
     }
     else
     {
         GetComponent <Canvas>().enabled = false;
     }
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     descriptionscript       = (InventDescScript)Object.FindObjectOfType(typeof(InventDescScript));
     InventoryCanvas         = GameObject.FindWithTag("InventoryCanvas").GetComponent <Canvas>();;
     InventoryCanvas.enabled = false;
 }