コード例 #1
0
 // Update is called once per frame
 void Update()
 {
     if (_tablet.GetExpKey(0))
     {
         transform.position += Vector3.up * velocity * Time.deltaTime;
     }
     if (_tablet.GetExpKey(1))
     {
         transform.position -= Vector3.up * velocity * Time.deltaTime;
     }
 }