Skip to content
Snippets Groups Projects
Commit bc049b11 authored by Putinabillaa's avatar Putinabillaa
Browse files

shop

parent 24b02a7b
No related merge requests found
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: b25d882ba10844fbeab3c48501eee62f
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: 7459c871b99894cc9b1d7c309a50946e
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
...@@ -57,9 +57,10 @@ public class Shop : MonoBehaviour ...@@ -57,9 +57,10 @@ public class Shop : MonoBehaviour
public void SpawnAllPets(List<int> spawnedPets) { public void SpawnAllPets(List<int> spawnedPets) {
foreach (int pet in spawnedPets) { foreach (int pet in spawnedPets) {
if (pet == 0) { if (pet == 0) {
petSpawner.SpawnJavier(); BuyJavier();
} else if (pet == 1) { } else if (pet == 1) {
petSpawner.SpawnBagas(); petSpawner.SpawnBagas();
BuyBagas();
} }
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment