public override void InnerBeginn() { // If values are correct if (tree.AttachedBrain.TryGetComponent(out toy) == false || resourceValue.TryGetValue(out resource) == false) { return; } success = resource.CheckCollectionRequirements(toy); }
public override void InnerBeginn() { // If values are correct if (tree.AttachedBrain.TryGetComponent(out toy) == false || resourceValue.TryGetValue(out resource) == false) { return; } success = resource.CheckCollectionRequirements(toy); }