mirror of
https://github.com/ryzij/Cube-Tower-Defense.git
synced 2026-07-14 01:56:57 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[CreateAssetMenu(fileName = "Level_No", menuName = "Scriptable Objects/Level")]
|
||||
public class Level : ScriptableObject
|
||||
{
|
||||
[SerializeField] private Enemy[] _enemiesPrefabs;
|
||||
[SerializeField] private float _levelTimeSec = 10f;
|
||||
|
||||
public IReadOnlyCollection<Enemy> EnemiesPrefabs => _enemiesPrefabs;
|
||||
public float LevelTimeSec => _levelTimeSec;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b1e1b282bef2878e089a42b9c8507311
|
||||
Reference in New Issue
Block a user