コード例 #1
0
    private void Awake()
    {
        if (UniversalMediaPlayer.IsValidLibrary())
        {
            _player = Instantiate(PlayerPrefab, VideoContainer);
            return;
        }

        _player = null;
        VideoWallsLibrary.Find("VideoBlocked").gameObject.SetActive(true);
        VideoWallsLibrary.Find("NewVideo").gameObject.SetActive(false);
        VideoWallsLibrary.Find("VideoLoaded").gameObject.SetActive(false);
    }