how can i create trace the number on unity 5?
i am creating a math game for android device . in some challenges the player needs to trace the number for him/her to proceed. I've searched everywhere for tutorial but i haven't found any in terms of skill i am completely a newbie i am using c sharp for this game. this the my first time hope u can help me.
Answer by itsharshdeep · Jan 18, 2016 at 04:56 AM
Can you please elaborate more .. by giving the example like how you wanna trace the number?? example you displayed the 1,2,3,4 ... and so on .. At one time only one word is displaying and previous one is disappearing. now you wanna track the numbers you have displayed... Is this what you wanna achieve ??
If your answer is yes then you can use List(System.Collections.Generic) add every number into your list ( By *ListName.add(whattoadd)*
) at last you can traverse the list and find out the elements in your list Traverse can be :
forearch ( var item in listName ){
Debug.Log("Element : "+ item);
}
it would trace that sample image using touch screen cause i am creating a pre school math game . the player needs to start from the top to bottom.