Stuck cinematics
This commit is contained in:
@@ -94,6 +94,8 @@ namespace Cinematics
|
||||
/// </summary>
|
||||
public PlayableDirector LoadAndPlayCinematic(string key)
|
||||
{
|
||||
playableDirector = GetComponent<PlayableDirector>();
|
||||
_cinematicSprites = GetComponentInChildren<Image>(true);
|
||||
// Load the asset via addressables
|
||||
var handle = Addressables.LoadAssetAsync<PlayableAsset>(key);
|
||||
var result = handle.WaitForCompletion();
|
||||
|
||||
Reference in New Issue
Block a user