코딩공부/Unity3D
[Unity3D] Invoke 사용법
dev__pixui
2016. 4. 25. 10:44
Invoke(methodName:string, time:float)
- methodName 메소드를 time 초 후 호출합니다.
InvokeRepeating(methodName:string, time:float, repeatRate:float)
- methodName 메소드를 time 초 후 호출합니다. 첫 호출 후 repeatRate 초 마다 반복 호출합니다.
CancelInvoke()
- 이 스크립트에 있는 모든 Invoke 를 취소합니다.
CancelInvoke(methodName:string)
- 이 스크립트에 있는 methodName 을 호출하는 모든 Invoke