Implement enemy spawning and following waypoints
This commit is contained in:
12
Assets/Scripts/Data/Enemy.cs
Normal file
12
Assets/Scripts/Data/Enemy.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[Serializable]
|
||||
[CreateAssetMenu(fileName = "Enemy", menuName = "Data/Enemy")]
|
||||
public class Enemy : ScriptableObject
|
||||
{
|
||||
[SerializeField]
|
||||
public int health;
|
||||
}
|
||||
Reference in New Issue
Block a user