add enemy attributes
This commit is contained in:
parent
3b0fc4481e
commit
124cb74bd5
15
Assets/Scripts/EnemyAttributesSO.cs
Normal file
15
Assets/Scripts/EnemyAttributesSO.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class EnemyAttributesSO : ScriptableObject
|
||||
{
|
||||
[SerializeField] private Attribute STR;
|
||||
[SerializeField] private Attribute CON;
|
||||
[SerializeField] private Attribute SPD;
|
||||
[SerializeField] private Attribute RNG;
|
||||
[SerializeField] private Attribute MND;
|
||||
|
||||
public static EnemyAttributesSO New()
|
||||
{
|
||||
return ScriptableObject.CreateInstance<EnemyAttributesSO>();
|
||||
}
|
||||
}
|
11
Assets/Scripts/EnemyAttributesSO.cs.meta
generated
Normal file
11
Assets/Scripts/EnemyAttributesSO.cs.meta
generated
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c5304ff6dfe84844887d751cee48606a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue
Block a user