using System; using System.Collections.Generic; using System.Linq; using Goap.Core; using UnityEngine; namespace Goap.Runtime { [Obsolete("Use CapabilityConfigs instead!")] public class GoapSetConfigScriptable : ScriptableObject, IAgentTypeConfig { public CapabilityConfigScriptable capabilityConfig; public List actions = new(); public List goals = new(); public List targetSensors = new(); public List worldSensors = new(); public string Name => this.name; public List Actions => this.actions.Cast().ToList(); public List Goals => this.goals.Cast().ToList(); public List TargetSensors => this.targetSensors.Cast().ToList(); public List WorldSensors => this.worldSensors.Cast().ToList(); public List MultiSensors { get; set; } } }