hello everyone, i'am actually working on a project were i'm using Bluefruit feather bluetooth chip. And i'd like to make a square move right or left with a key on my bluetooth keyboard !
I'm using this code :
if (Input.GetKey(KeyCode.A))
{
transform.position += Vector3.left * speed * Time.deltaTime;
}
for the moment but it's not working with my bluetooth ipad connection and someone told me i needed to work with Input.get String... but i can't seem to find anything about it ...
Thank you very much for your help ^^
↧