Initial Commit
This commit is contained in:
commit
ee5c2f922d
2255 changed files with 547750 additions and 0 deletions
27
Assets/Scripts/Prefabs/EnemyPrefab.cs
Normal file
27
Assets/Scripts/Prefabs/EnemyPrefab.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace DefaultNamespace
|
||||
{
|
||||
[CreateAssetMenu]
|
||||
public class EnemyPrefab : ScriptableObject
|
||||
{
|
||||
public float AttackRange;
|
||||
public float Damage;
|
||||
public AssetReferenceGameObject DeathParticles;
|
||||
public SoundLibrary[] DeathSounds;
|
||||
public DropEntry[] Drops;
|
||||
public float MaxHealth;
|
||||
public AssetReferenceGameObject Template;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class AssetReferenceEnemyPrefab : AssetReferenceT<EnemyPrefab>
|
||||
{
|
||||
public AssetReferenceEnemyPrefab(string guid)
|
||||
: base(guid)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue