In the preceding recipe, the movie has time to prepare since the game waits until we press the jump/Spacebar key. If we are using scripting to set up a video player for a video clip, we need to do some initial work before the video is ready to play. Unity provides the prepareCompleted event for this, which allows us to register a method to be invoked once a VideoPlayer is ready to play.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine