Publisher | 2dn3d |
---|---|
File size | 305.05kB |
Number of files | 11 |
Latest version | 1 |
Latest release date | 2019-07-19 10:40:12 |
First release date | 2019-07-03 09:26:08 |
Supported Unity versions | 2018.4.2 or higher |
You can multi video clips on the TV screen to enable channel change, volume control and mute functions.
- How to setting
Just add the script to screen gameObject. Then the script do automatic add video player on start play and wait for your control.
- How to use script
[power_on(bool)] : power on or off
[power_light(material)] : set power light(option)
[channel_set(video clip)] : multi channel set (array)
[is Loop(bool)] : use to loop
[mute(bool)] : set mute
[channel(int)] : channel number
[volume(int)] : volume
[max-volume(int)] : maximum volume
[auto_change_channel(bool)] : automatic change channel (on or off)
[auto_change_time(float)] : what time to automatic change (second)
Reference : Nothing the video clips in demo scene because copyright problem. Yourself add the video clips and play. If problem in demo video, I'll delete it later.
- How to setting
Just add the script to screen gameObject. Then the script do automatic add video player on start play and wait for your control.
- How to use script
[power_on(bool)] : power on or off
[power_light(material)] : set power light(option)
[channel_set(video clip)] : multi channel set (array)
[is Loop(bool)] : use to loop
[mute(bool)] : set mute
[channel(int)] : channel number
[volume(int)] : volume
[max-volume(int)] : maximum volume
[auto_change_channel(bool)] : automatic change channel (on or off)
[auto_change_time(float)] : what time to automatic change (second)
Reference : Nothing the video clips in demo scene because copyright problem. Yourself add the video clips and play. If problem in demo video, I'll delete it later.