- Home /
Question by
JazzAKD08 · Jan 03, 2018 at 07:49 PM ·
buttonaugmented-realitycube3dtext
Question about 3d text
Hi friends!
I have a question, I need to "Siguiente" button (it's a 3d text) appears only after when I press a cube, how can i do? And i need block the other cubes if i press one, this is my code, please help me with the code because i'm so noob in this and i don't have enough time. Thanks!!! This is the code if I press cube "ch"
if (hit.collider.tag == "Letra_ch") {
Destroy (hit.collider.gameObject);
aux++;
scoreAmount++;
letra = "ch";
if (GameManager.gm) {
GameManager.gm.targetHit (scoreAmount);
}
scoreFinal = PlayerPrefs.GetInt ("Score", scorePP) + scoreAmount;
PlayerPrefs.SetInt ("Score", scoreFinal);
PlayerPrefs.SetString ("Chado", letra.ToString ());
}
whatsapp-image-2017-12-04-at-170438.jpeg
(137.7 kB)
Comment
Your answer
Follow this Question
Related Questions
Why isn't curved UI asset working? 0 Answers
Is it posible to attach a crosshair to an image in vuforia? 0 Answers
HOW TO MAKE AR TAGS? 0 Answers
Cloud recognition in Vuforia 0 Answers
Rotation of 3D text on a cube always being upright. 0 Answers