Exemple #1
0
 public void Normal()
 {
     if (state != transformations.NORMAL)
     {
         transform.localScale = initcale;
         state = transformations.NORMAL;
     }
 }
Exemple #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;
     }
 }
Exemple #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;
     }
 }