riversong code showcase
This commit is contained in:
19
Source/Riversong/Game/World/Agents/AgentDefinition.cs
Normal file
19
Source/Riversong/Game/World/Agents/AgentDefinition.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user