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