public void OnPlaceableGOPickedUp(PlaceableGameObject placeableGO) { bool conditionSatisfied = condition.Evaluate(placeableGO.placeable); if (conditionSatisfied) { hoverZoneCollider.enabled = true; isAcceptablePlaceablePickedUp = true; } }
public bool CanBePlaced(PlaceableGameObject placeableGO) { return(condition.Evaluate(placeableGO.placeable)); }
public bool Evaluate(Placeable placeable) { return(!child.Evaluate(placeable)); }