Skip to content
[unity] 화면 밖으로 나가면 제거하기
On:
2014년 8월 8일
In:
기타 언어
With:
0 Comments
void OnBecameInvisible() { Destroy(gameObject); }
관련
2014-08-08
Previous Post:
[unity] 드래그하면 옆으로만 왔다갔다하는 큐브
Next Post:
[unity] 다른 gameObject의 변수값 가져오기