Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.Video;
- public class CGTheaterButtons : MonoBehaviour
- {
- public VideoClip clip;
- public CGTheaterVideoPlayer player;
- public void PlayVideo()
- {
- player.gameObject.SetActive(true);
- player.Setup(clip);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement