using System; using System.Collections.Generic; using Goap.Agent.Core; using UnityEngine; namespace Goap.Runtime { [Serializable] public class CapabilityAction { public ClassRef action = new(); public ClassRef target = new(); [SerializeReference] public IActionProperties properties; public float baseCost = 1; public float stoppingDistance = 0.1f; public bool validateTarget = true; public bool requiresTarget = true; public bool validateConditions = true; public ActionMoveMode moveMode; public List conditions = new(); public List effects = new(); } }