20 lines
530 B
C#
20 lines
530 B
C#
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
using UnityEngine.AddressableAssets;
|
|
|
|
namespace DanieleMarotta.RiversongCodeShowcase
|
|
{
|
|
[CreateAssetMenu(fileName = "AgentDefinition", menuName = "Riversong Code Showcase/Agent Definition")]
|
|
public class AgentDefinition : GameDataAsset
|
|
{
|
|
[Required]
|
|
public AssetReferenceGameObject Visualization;
|
|
|
|
public AssetReferenceGameObject Projectile;
|
|
|
|
public int WanderingRadius = 10;
|
|
|
|
public Vector2 WanderingIdleTime = new(3, 10);
|
|
}
|
|
}
|