Ejemplo n.º 1
0
    public void activeAction()
    {
        ItemDescriptorCanvasController messageBox = GameObject.Find("ItemDescriptionCanvas").GetComponent <ItemDescriptorCanvasController>();

        messageBox.showTextBox(new string[1] {
            "50 Sones Radio Vieja. Cachao Cógele el Golpe"
        });
        //print("activeAction VinylAction");
    }
Ejemplo n.º 2
0
 public void activeAction()
 {
     if (GameObject.Find("Vendas").GetComponent <SpriteRenderer>().enabled)
     {
         ItemDescriptorCanvasController messageBox = GameObject.Find("ItemDescriptionCanvas").GetComponent <ItemDescriptorCanvasController>();
         messageBox.showTextBox(new string[1] {
             "¿Vendas?"
         });
     }
     //print("activeAction VendasAction");
 }
Ejemplo n.º 3
0
 public void activeAction()
 {
     ItemDescriptorCanvasController messageBox = GameObject.Find("ItemDescriptionCanvas").GetComponent <ItemDescriptorCanvasController>();
     PlayerMovement player = GameObject.Find("Player").GetComponent <PlayerMovement>();
     //if (!player.greenUnlock)
     {
         messageBox.showTextBox(new string[1] {
             "Una botella de Alcohol, tal vez deba curar a Mandolina"
         });
     }
     //print("activeAction AlcoholAction");
 }
Ejemplo n.º 4
0
 public void activeAction()
 {
     ItemDescriptorCanvasController messageBox = GameObject.Find("ItemDescriptionCanvas").GetComponent <ItemDescriptorCanvasController>();
     PlayerMovement player = GameObject.Find("Player").GetComponent <PlayerMovement>();
     //if (player.greenUnlock)
     {
         messageBox.showTextBox(new string[1] {
             "1957 Beni, Inigo, Santi, Magda"
         });
     }
     //print("activeAction CuadroRevolucionAction");
 }
Ejemplo n.º 5
0
    // Start is called before the first frame update
    void Start()
    {
        SoundManager = GameObject.Find("SoundManager").GetComponent <AudioManager>();
        MessageBox   = GameObject.Find("ItemDescriptionCanvas").GetComponent <ItemDescriptorCanvasController>();

        enter = false;
        SetPlayerState(PlayerState.Idle);

        ItemObjects = new bool[(int)Items.total];

        SoundManager.PlayMusic(TrackList.SON);
    }
Ejemplo n.º 6
0
 public void activeAction()
 {
     ItemDescriptorCanvasController messageBox = GameObject.Find("ItemDescriptionCanvas").GetComponent <ItemDescriptorCanvasController>();
     PlayerMovement player = GameObject.Find("Player").GetComponent <PlayerMovement>();
     //if (!player.greenUnlock)
     {
         messageBox.showTextBox(new string[1] {
             "Esto no va aquí"
         });
     }
     //print("activeAction PulseraAction");
 }
Ejemplo n.º 7
0
 public void activeAction()
 {
     ItemDescriptorCanvasController messageBox = GameObject.Find("ItemDescriptionCanvas").GetComponent <ItemDescriptorCanvasController>();
     PlayerMovement player = GameObject.Find("Player").GetComponent <PlayerMovement>();
     //if (player.greenUnlock)
     {
         messageBox.showTextBox(new string[1] {
             "A estas Tijeras, les falta filo"
         });
     }
     //print("activeAction TijerasAction");
 }
Ejemplo n.º 8
0
    public void activeAction()
    {
        ItemDescriptorCanvasController messageBox = GameObject.Find("ItemDescriptionCanvas").GetComponent <ItemDescriptorCanvasController>();
        PlayerMovement player = GameObject.Find("Player").GetComponent <PlayerMovement>();

        if (player.greenUnlock && !player.yellowUnlock)
        {
            messageBox.showTextBox(new string[1] {
                "Aquí falta algo"
            });
        }
        //print("activeAction BuroAction");
    }