void RandomizeValues()
 {
     if (lilyType == LilyType.waterLily)
     {
         WaterLilyProperties waterLilyProperties = LilyManager.instance.waterLilyProperties;
         RandomizeTilt(waterLilyProperties);
         renderer.material = LilyManager.instance.GetRandomMaterial();
     }
     if (lilyType == LilyType.lilyPad)
     {
         LilyPadProperties lilyPadProperties = LilyManager.instance.lilyPadProperties;
         float             scale             = Mathf.Lerp(lilyPadProperties.minScale, lilyPadProperties.maxScale, Random.value);
         transform.localScale = Vector3.one * scale;
         Color tint = Random.value > 0.5f ? lilyPadProperties.tint1 : lilyPadProperties.tint2;
         renderer.material.color = tint;
     }
     hoverPosition = Random.value;
     RandomizeRotation();
 }
 void InitValues()
 {
     if (lilyType == LilyType.waterLily)
     {
         WaterLilyProperties waterLilyProperties = LilyManager.instance.waterLilyProperties;
         originalHeight       = waterLilyProperties.originalHeight;
         speed                = waterLilyProperties.speed;
         height               = waterLilyProperties.height;
         hoverAnimation       = waterLilyProperties.hoverAnimation;
         transform.localScale = Vector3.one * waterLilyProperties.scale;
     }
     if (lilyType == LilyType.lilyPad)
     {
         LilyPadProperties lilyPadProperties = LilyManager.instance.lilyPadProperties;
         originalHeight = lilyPadProperties.originalHeight;
         speed          = lilyPadProperties.speed;
         height         = lilyPadProperties.height;
         hoverAnimation = lilyPadProperties.hoverAnimation;
     }
     originalPos   = transform.position;
     originalPos.y = originalHeight;
 }