using System.ComponentModel;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class MainScript : MonoBehaviour
{
public AudioSource bun;
public AudioSource bzz;
public TextMeshProUGUI A1;
public TextMeshProUGUI A2;
public TextMeshProUGUI A3;
public TextMeshProUGUI A4;
public TextMeshProUGUI A5;
public TextMeshProUGUI A6;
public TextMeshProUGUI A7;
public TextMeshProUGUI A8;
public TextMeshProUGUI S1;
public TextMeshProUGUI S2;
public TextMeshProUGUI S3;
public TextMeshProUGUI S4;
public TextMeshProUGUI S5;
public TextMeshProUGUI S6;
public TextMeshProUGUI S7;
public TextMeshProUGUI S8;
// Start is called before the first frame update
void Start()
{
A1.text = Raspunsuri.instance.Q1[1];
}
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(KeyCode.Alpha1) || Input.GetKeyDown(KeyCode.Alpha2) || Input.GetKeyDown(KeyCode.Alpha3) || Input.GetKeyDown(KeyCode.Alpha4) || Input.GetKeyDown(KeyCode.Alpha5) || Input.GetKeyDown(KeyCode.Alpha6) || Input.GetKeyDown(KeyCode.Alpha7) || Input.GetKeyDown(KeyCode.Alpha8))
{
Debug.Log("Bun");
bun.Play();
}
}
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}