How can ı do that? Any idea?
1 Answer
1function Update(){
if (-Input.acceleration.y >0.075){
//Do Something
}
if (Input.acceleration.y >0.075){
//Do Something
}
}
How can ı do that? Any idea?
function Update(){
if (-Input.acceleration.y >0.075){
//Do Something
}
if (Input.acceleration.y >0.075){
//Do Something
}
}
This is when the device is Horizontal
– psycocrusher