public UnityEvent<int> onScreenModeChanged;
Description
Triggered when the playback mode is changed. The event parameter indicates the index of the updated playback mode. The index of the playback mode is an integer ranging from 0 to 3, which is described as follows:
0 | Video mode |
1 | Image mode |
2 | Camera mode |
3 | Canvas mode (not available yet) |