public GoapFunctionPair( GoapHeuristicFunction Heuristic, GoapActionFunction Action ) { this.Heuristic = Heuristic; this.Action = Action; }
void Update() { // G is Nullable GoapActionFunction Action = GetGoapEventWithHighestHScore(); if (Action != null) { Action(); } }