Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- private void OnMouseOver()
- {
- if (Input.GetMouseButtonDown(0))
- {
- string[] nations = { "HD Ita", "HD Fra", "HD Ger", "HD Svi" };
- if (nations.Contains(name)) {
- Quiz.quizQuestion = Array.IndexOf(nations, name);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement