Skip to content
Snippets Groups Projects
Commit 243649aa authored by louis's avatar louis
Browse files
parents c03e1585 c12f825b
Branches
Tags
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: a9bb3b0b730dca946b5b3037c90a21bc
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:
...@@ -27,15 +27,15 @@ public class TimelineManager : MonoBehaviour ...@@ -27,15 +27,15 @@ public class TimelineManager : MonoBehaviour
return; return;
} }
}
protected virtual void Start() {
for (int i = 0; i < markCount; i++) for (int i = 0; i < markCount; i++)
{ {
marks.Add(i * framePerMark); marks.Add(i * framePerMark);
} }
} }
protected virtual void Start() {
}
public void InstanlyMoveToNextMark() public void InstanlyMoveToNextMark()
{ {
if (currentMarkIndex + 1 < marks.Count) if (currentMarkIndex + 1 < marks.Count)
......
...@@ -109,7 +109,7 @@ public class MainSceneController : MonoBehaviour ...@@ -109,7 +109,7 @@ public class MainSceneController : MonoBehaviour
questManager = managers.GetComponent<QuestManager>(); questManager = managers.GetComponent<QuestManager>();
gamePlayUI = GameObject.Find("Gameplay UI"); gamePlayUI = GameObject.Find("Gameplay UI");
gamePlayUI.SetActive(false); // gamePlayUI.SetActive(false);
} }
void Update() void Update()
{ {
......
...@@ -84,14 +84,14 @@ public class QuestManager : MonoBehaviour ...@@ -84,14 +84,14 @@ public class QuestManager : MonoBehaviour
{ {
SpawnArea = new SpawnArea { Origin = spawnTransform, Radius = 36}, SpawnArea = new SpawnArea { Origin = spawnTransform, Radius = 36},
Mob = Keroco, Mob = Keroco,
MobCount = 7, MobCount = 10,
SpawnInterval = 5f SpawnInterval = 5f
}, },
new SpawnerData new SpawnerData
{ {
SpawnArea = new SpawnArea { Origin = spawnTransform, Radius = 50}, SpawnArea = new SpawnArea { Origin = spawnTransform, Radius = 50},
Mob = Thrower, Mob = Thrower,
MobCount = 2, MobCount = 10,
SpawnInterval = 30f SpawnInterval = 30f
} }
} }
...@@ -120,7 +120,7 @@ public class QuestManager : MonoBehaviour ...@@ -120,7 +120,7 @@ public class QuestManager : MonoBehaviour
{ {
SpawnArea = new SpawnArea { Origin = spawnTransform, Radius = 36}, SpawnArea = new SpawnArea { Origin = spawnTransform, Radius = 36},
Mob = General, Mob = General,
MobCount = 5, MobCount = 6,
SpawnInterval = 2f SpawnInterval = 2f
}, },
} }
......
...@@ -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