- Home /
How to assign a pre-set position with the Time.time component?
i have a 5x 5z grid (composed of cubes) that uses a 3dimentional array containing the 25 positions (transform.position x & z seperately) of the cube and a simple js script to set the position of a GameObject to one of those positions at a time (thus grid movement). However i would like to use Time.Timescale as a means of pausing. How would include Time.time in the script mentioned above so that the time function is essential to assigning one of the 25 positions to the Game Object?
Sorry if my question is too hard to grasp, my english is horrible... ~Suimasen~
Your answer
Follow this Question
Related Questions
Why is may costom yield not working? 2 Answers
Slow Mo effect with Time.timeScale? Dont understand Lerp and Corutines... 1 Answer
Changing Time.fixedDeltaTime to create slowmotion messes up with physics. 1 Answer
Slowing down time except for player. 0 Answers
create a pause state and menu that still allows animations 0 Answers