public void SnapIT ()
{
//Math.Round(3.44, 1); //Returns 3.4. // its not that C# is better, but the documentation deffinitly is .
Vector3 Temp = this.transform.localPosition ;
float tempX = Mathf.Round(Temp.x/ 10) ;
float tempY = Mathf.Round(Temp.y/10) ;
float tempZ = Mathf.Round(Temp.z/10) ;
NewPos
= new Vector3
(tempX
*10 , tempY
*10,tempZ
*10 ) ; this.transform.localPosition = NewPos ;
}