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

shop

parent 24b02a7b
Branches
Tags
No related merge requests found
This diff is collapsed.
fileFormatVersion: 2
guid: b25d882ba10844fbeab3c48501eee62f
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
fileFormatVersion: 2
guid: 7459c871b99894cc9b1d7c309a50946e
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
......@@ -57,9 +57,10 @@ public class Shop : MonoBehaviour
public void SpawnAllPets(List<int> spawnedPets) {
foreach (int pet in spawnedPets) {
if (pet == 0) {
petSpawner.SpawnJavier();
BuyJavier();
} else if (pet == 1) {
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