public void Scale(float scale, float time)
 {
     scaleSpeed     = time;
     targetScale    = scale;
     performScaling = true;
     scaler.Scale(scale, time);
     // snap back to OG size delay
     if (snapBack)
     {
         hasScaled  = true;
         timeToSnap = snapDelay;
     }
 }
Esempio n. 2
0
 void ResetObject()
 {
     timer          = 0;
     teleportTarget = null;
     scaler.Scale(1, speed);
 }