Example #1
0
 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);
     }
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     SceneManager.LoadScene((int)SceneIndexes.Diagnostico);
     DiagnosticSceneInformation.LoadInformation(playerDiagnosticInfo);
 }
Example #3
0
 // Start is called before the first frame update
 void Start()
 {
     SceneManager.LoadScene("Diagnostico");
     DiagnosticSceneInformation.LoadInformation(playerDiagnosticInfo);
 }