예제 #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");
    }
예제 #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");
 }
예제 #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");
 }
예제 #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");
 }
예제 #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);
    }
예제 #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");
 }
예제 #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");
 }
예제 #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");
    }