15 lines
390 B
C#
15 lines
390 B
C#
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
[CreateAssetMenu(fileName = "NewEnemyStat", menuName = "Scriptable Objects/Enemy Stat")]
|
||
|
|
public class EnemyStat : ScriptableObject
|
||
|
|
{
|
||
|
|
[Header("Base Info")]
|
||
|
|
public float playerMaxSpeed;
|
||
|
|
public float playerJumpPower;
|
||
|
|
public int playerMaxJumpCount;
|
||
|
|
public int playerHp;
|
||
|
|
public float range;
|
||
|
|
Vector3 defPos;
|
||
|
|
public string direction = "left";
|
||
|
|
}
|