SceneManager and VideoPlayer |

Опубликовано: 18 Май 2026
на канале: satchell78
918
16

Asset Store Affiliate Link:
https://assetstore.unity.com/?aid=110...

Unity Pro - Unity for Professionals
Affiliate link:
http://prf.hn/click/camref:1101l8fDo/...

Unity Plus - Level Up Your Game
Affiliate link:
http://prf.hn/click/camref:1101l8fDo/...

Thanks for watching!

Unity Scene Management and Video Playback

Links to all the resources bellow
_____________

SUBSCRIBE ►    / satchell78  

UNITY MANUAL SCENE MANAGEMENT ► https://docs.unity3d.com/ScriptRefere...

UNITY MANUAL VIDEO PLAYER ► https://docs.unity3d.com/ScriptRefere...

UNITY MANUAL ► https://docs.unity3d.com/Manual/
_____________

This is a beginner tutorial if you need more details please visit my forum and I'll do my best to help you with any questions you have over there.

SCRIPT

WaitForVideo.cs

CODE

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class WaitForVideo : MonoBehaviour
{
public string scenename = "Scene_02";
void Start()
{
StartCoroutine(Example());
}

IEnumerator Example()
{
yield return new WaitForSeconds(7);
SceneManager.LoadScene(scenename);
}
}