예제 #1
0
 // Update is called once per frame
 void Update()
 {
     if (Input.GetButtonDown("Fire1") && ts.GetCurrentTool() == 1)
     {
         Saw();
     }
 }
예제 #2
0
 // Update is called once per frame
 void Update()
 {
     DisplayWaterLevel();
     if (Input.GetButtonDown("Fire1") && ts.GetCurrentTool() == 0)
     {
         Water();
     }
 }