|
|
|
|
|
|
using System.Collections; |
|
|
|
using System.Collections.Generic; |
|
|
|
using UnityEngine; |
|
|
|
using UnityEngine; |
|
|
|
public GameEvent onLevelEnd; |
|
|
|
|
|
|
|
|
|
|
|
public LoadEvent onLevelEnd; |
|
|
|
public GameScene[] locationsToLoad; |
|
|
|
public bool showLoadScreen; |
|
|
|
onLevelEnd.Raise(); |
|
|
|
onLevelEnd.RaiseEvent(locationsToLoad, showLoadScreen); |
|
|
|
} |
|
|
|
} |
|
|
|
} |