21 lines
394 B
C#
21 lines
394 B
C#
using UnityEngine;
|
|
|
|
public class SceneSettings : MonoBehaviour
|
|
{
|
|
public int sceneID;
|
|
|
|
public string sceneName = "";
|
|
|
|
private void Start()
|
|
{
|
|
if (GameManager.Instance._playerData.currentPlayerProfileIndex > -1)
|
|
{
|
|
GameManager.Instance._playerData.Player[GameManager.Instance._playerData.currentPlayerProfileIndex].lastPlayLocationIndex = sceneID;
|
|
}
|
|
}
|
|
|
|
private void Update()
|
|
{
|
|
}
|
|
}
|