示例#1
0
 void Update()
 {
     // 左ボタンクリック
     if (Input.GetMouseButtonUp(0))
     {
         Vector3 mousePosition = Input.mousePosition;
         Debug.Log("LeftClick:" + mousePosition);
         scorer.setLocation((int)mousePosition.x, (int)(cameraMat.height() - mousePosition.y));
     }
 }