Ejemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     if (wantSwan && Input.GetKeyDown(KeyCode.E))
     {
         SwanHoverText.gameObject.SetActive(false);
         manaDeactivationSwan.DeactivateAllManaImages();
         Swan.gameObject.SetActive(true);
         //Destroy(this.gameObject);
     }
 }
Ejemplo n.º 2
0
 // Update is called once per frame
 void Update()
 {
     if (wantButterfly && Input.GetKeyDown(KeyCode.E))
     {
         ButterflyHoverText.gameObject.SetActive(false);
         manaDeactivationButterfly.DeactivateAllManaImages();
         Butterfly.gameObject.SetActive(true);
         //Destroy(this.gameObject);
     }
 }
Ejemplo n.º 3
0
 // Update is called once per frame
 void Update()
 {
     if (wantElephant && Input.GetKeyDown(KeyCode.E))
     {
         ElephantHoverText.gameObject.SetActive(false);
         manaDeactivationElephant.DeactivateAllManaImages();
         Elephant.gameObject.SetActive(true);
         //Destroy(this.gameObject);
     }
 }