http://docs.unity3d.com/ScriptReference/MonoBehaviour.OnBecameInvisible.html


1
2
3
 void OnBecameInvisible() {
        enabled = false;
    }
cs


'Unity' 카테고리의 다른 글

Humanoid 머리에 콜라이더 달기  (0) 2015.05.14
Animator에서 Trigger 와 Bool의 차이  (0) 2015.05.14
RequireComponent  (0) 2015.04.14
Particle System  (0) 2015.04.14
Invoke Coroutine  (0) 2015.04.14

+ Recent posts