You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class IdleTargetSensor : LocalTargetSensorBase
{
public override void Created() { }
public override void Update() { }
public override ITarget Sense(IActionReceiver agent, IComponentReference references, ITarget existingTarget)
{
return new PositionTarget(agent.Transform.parent.position);
}
}
As the sensor classes must be created by the developer as they cannot be autogenerated, and the documentation makes no reference to this namespace limitation (and in fact doesn't even use it), it is impossible to divine why sensors don't show up when checking for issues (not selectable via dropdown, etc).
The text was updated successfully, but these errors were encountered:
Draco18s
changed the title
GeneratorScriptable cannot find classes (eg. ISensor implementations) outside CrashKonijn.Goap.Runtime
GeneratorScriptable cannot find classes (eg. ISensor implementations) outside CrashKonijn.Goap.GenTest
Jan 21, 2025
https://github.com/crashkonijn/GOAP/blob/master/Package/Runtime/CrashKonijn.Goap.Runtime/Scriptables/GeneratorScriptable.cs#L58
How to replicate:
As the sensor classes must be created by the developer as they cannot be autogenerated, and the documentation makes no reference to this namespace limitation (and in fact doesn't even use it), it is impossible to divine why sensors don't show up when checking for issues (not selectable via dropdown, etc).
The text was updated successfully, but these errors were encountered: