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"); }
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"); }
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"); }
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"); }
// 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); }
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"); }
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"); }
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"); }