Exemplo n.º 1
0
 public void OnSliderMaxValueReached()
 {
     //Debug.Log(lastVal);
     if (lastVal != Vals.max)
     {
         scrubCount++;
         m_Throwable.ManuallyDetatchThisObject();
         gameObject.SetActive(false);
     }
     lastVal = Vals.max;
 }