Advertisement
PlinioJRM

WaveStrategy

Nov 1st, 2024
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.54 KB | None | 0 0
  1. using System.Collections.Generic;
  2. using PlinioJRM.Entities;
  3. using UnityEngine;
  4.  
  5. namespace PlinioJRM.Systems.Waves {
  6.     [CreateAssetMenu(fileName = "Wave Strategy", menuName = "Strategies/Wave")]
  7.     public class WaveStrategy : ScriptableObject {
  8.         public bool isBossWave = false;
  9.         public int  waveScore;
  10.  
  11.         [Header("Spawn Settings")]
  12.         public EnemyType defaultEnemy;
  13.         public bool canSpawnGroups;
  14.         [Range(0, 100)]
  15.         public int groupChance;
  16.         public float minDistanceFromLastSpawn;
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement