using NodeCanvas.Framework; using ParadoxNotion.Design; using UnityEngine; namespace NodeCanvas.Tasks.Actions { [System.Obsolete("Use Get Property instead")] [Category("GameObject")] public class GetGameObjectPosition : ActionTask { [BlackboardOnly] public BBParameter saveAs; protected override string info { get { return "Get " + agentInfo + " position as " + saveAs; } } protected override void OnExecute() { saveAs.value = agent.position; EndAction(); } } }