public void GeneratePotionAndSendToThePlayer() { if (potionBody == default) { return; } BodyPartOrigin body = potionBody; if (PlayerDiagnosticController.IsInfoEquals(body)) { StoreSceneInfo.win = true; } else { StoreSceneInfo.win = false; } SceneManager.LoadScene("Store"); }
private static void LoadBody(PlayerDiagnosticInfo playerDiagnosticInfo) { PlayerDiagnosticController.LoadAllBodyParts(playerDiagnosticInfo); }
private void Awake() { singleton = this; }