- Home /
Question by
daryusahmed3117 · Aug 30, 2020 at 09:51 PM ·
unity 5scripting problemscripting beginner
How can i count the number of times i look to the transform.rotation.y < -0.2,How to count the amount of times i look down?
As the question states, i was wondering how I can write the script for that? I am designing a simulation where the person looks down at their phone and cannot get my code to work.
Thanks for any potential help :),Its part of a project i am making where a person has to look down at their cell phone. I would like to know how could I code the number of times I look down using the mouse at the phone.
Thanks!
Comment