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