From b7bcf44f38230bf4f0d4367af36ca3ec2586faa7 Mon Sep 17 00:00:00 2001 From: BOT Alex <44818698+MagicBOTAlex@users.noreply.github.com> Date: Sun, 21 Apr 2024 06:03:33 +0200 Subject: [PATCH] Scriptable object change --- Assets/ScriptableObjects/EnemyCollection.asset | 4 ++++ Assets/ScriptableObjects/Levels/Level1.asset | 9 ++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Assets/ScriptableObjects/EnemyCollection.asset b/Assets/ScriptableObjects/EnemyCollection.asset index e5ae207..3523db0 100644 --- a/Assets/ScriptableObjects/EnemyCollection.asset +++ b/Assets/ScriptableObjects/EnemyCollection.asset @@ -15,16 +15,20 @@ MonoBehaviour: Enemies: - name: moveSpeed: 1 + FlyPath: 0 prefab: {fileID: 369660384824789643, guid: 784f819fe659a3e488f123c96ee801ad, type: 3} - name: moveSpeed: 2 + FlyPath: 0 prefab: {fileID: 4537037150239815062, guid: bd436a2c4dcc94241a7ecbb15e61a724, type: 3} - name: moveSpeed: 4 + FlyPath: 1 prefab: {fileID: 4537037150239815062, guid: 5a35ef73a064d664cbaf53a719468025, type: 3} - name: moveSpeed: 0.5 + FlyPath: 0 prefab: {fileID: 4537037150239815062, guid: d932943ff31baa849b971b949d37222a, type: 3} diff --git a/Assets/ScriptableObjects/Levels/Level1.asset b/Assets/ScriptableObjects/Levels/Level1.asset index 8942910..d35446b 100644 --- a/Assets/ScriptableObjects/Levels/Level1.asset +++ b/Assets/ScriptableObjects/Levels/Level1.asset @@ -13,8 +13,11 @@ MonoBehaviour: m_Name: Level1 m_EditorClassIdentifier: Waves: - - groups: + - spawnTime: 0 + groups: - enemyIndex: 0 num: 10 - timeGapSpawn: 0 - time: 0 + spawnInterval: 0 + - enemyIndex: 2 + num: 10 + spawnInterval: 0