float min = 0;
float max = 10;
float x = 3 * Mathf.Sin (-Time.time); //시계 반대 방향
float z = 3 * Mathf.Cos (-Time.time);
transform.position = new Vector3(x, 0, z);
print ("Time.time" + Time.time);
float y = 3 * Mathf.Sin (Time.time);
x1 = 3 * Time.time;
transform.position = new Vector3(x1, y, 0);
'Computer Language > 유니티' 카테고리의 다른 글
exp (0) | 2014.04.11 |
---|---|
함수의 활용법.. 로그 이쁘게 찍기 (0) | 2014.04.11 |
복리 (0) | 2014.04.08 |
단리 (0) | 2014.04.08 |
입출금 (0) | 2014.04.08 |