Exemplo n.º 1
0
 public void Normal()
 {
     if (state != transformations.NORMAL)
     {
         transform.localScale = initcale;
         state = transformations.NORMAL;
     }
 }
Exemplo n.º 2
0
 public void Small()
 {
     if (state != transformations.SMALL)
     {
         transform.localScale  = initcale;
         transform.localScale -= new Vector3(0.8F, 0.8F, 0.8F);
         state = transformations.SMALL;
     }
 }
Exemplo n.º 3
0
 public void Big()
 {
     if (state != transformations.GIGANT)
     {
         transform.localScale  = initcale;
         transform.localScale += new Vector3(0.8F, 0.8F, 0.8F);
         state = transformations.GIGANT;
     }
 }