Ejemplo n.º 1
0
 /// <summary> Adds scale size to use </summary>
 /// <param name="scale"> Scale to apply </param>
 /// <returns> The ScaleSize reference </returns>
 public MultiScaleValue AddNewScale(float scale = 1)
 {
     if (multiScale == null)
     {
         multiScale = new MultiScale(transform);
     }
     return(multiScale.AddNewScale(scale));
 }
Ejemplo n.º 2
0
 /// <summary> Removes the given scale size </summary>
 /// <param name="size"> The size to remove </param>
 public void RemoveScale(MultiScaleValue size)
 {
     if (multiScale == null)
     {
         multiScale = new MultiScale(transform);
     }
     multiScale.RemoveScale(size);
 }