Nez.AI.GOAP.Action.validate C# (CSharp) Method

validate() public method

called before the Planner does its planning. Gives the Action an opportunity to set its score or to opt out if it isnt of use. For example, if the Action is to pick up a gun but there are no guns in the world returning false would keep the Action from being considered by the ActionPlanner.
public validate ( ) : bool
return bool
		public virtual bool validate()
		{
			return true;
		}