private void OnMouseDown() { if (isActivable) { // further -> call transition DiagnosticSceneInformation.LoadInformation(this.playerDiagnosticInfo); SpawnPlayerOnStore.StopCoroutines(); StoreSceneInfo.SaveOldInformation(ChairController.GetChairsInfo(), this.playerDiagnosticInfo); SceneManager.LoadScene((int)SceneIndexes.Diagnostico); } }
// Start is called before the first frame update void Start() { SceneManager.LoadScene((int)SceneIndexes.Diagnostico); DiagnosticSceneInformation.LoadInformation(playerDiagnosticInfo); }
// Start is called before the first frame update void Start() { SceneManager.LoadScene("Diagnostico"); DiagnosticSceneInformation.LoadInformation(playerDiagnosticInfo); }