MonoBehaviour.OnApplicationFocusfunction OnApplicationFocus (focus : boolean) : voidDescriptionSent to all game objects when the player gets or looses focus. OnApplicationFocus can be a co-routine, simply use the yield statement in the function. |
|
||||
| Scripting > Runtime Classes > MonoBehaviour | ||||
MonoBehaviour.OnApplicationFocusfunction OnApplicationFocus (focus : boolean) : voidDescriptionSent to all game objects when the player gets or looses focus. OnApplicationFocus can be a co-routine, simply use the yield statement in the function. |