add: now enemies properly spawn on deploy
This commit is contained in:
@@ -3,6 +3,11 @@ using UnityEngine.SceneManagement;
|
||||
|
||||
public class DeployController : MonoBehaviour
|
||||
{
|
||||
public void Start() {
|
||||
Cursor.lockState = CursorLockMode.None;
|
||||
Cursor.visible = true;
|
||||
}
|
||||
|
||||
public void Deploy(string sceneName) {
|
||||
LevelInfo level = GameController.i.GetLevel(sceneName);
|
||||
SceneManager.LoadScene(level.scene.name);
|
||||
|
||||
Reference in New Issue
Block a user