Advertisement
dronkowitz

CGTheaterButtons.cs

Feb 9th, 2022
861
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.34 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.Video;
  5. public class CGTheaterButtons : MonoBehaviour
  6. {
  7.     public VideoClip clip;
  8.     public CGTheaterVideoPlayer player;
  9.     public void PlayVideo()
  10.     {
  11.         player.gameObject.SetActive(true);
  12.         player.Setup(clip);
  13.     }
  14.    
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement