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; } }
void ResetObject() { timer = 0; teleportTarget = null; scaler.Scale(1, speed); }