A Question about Predicates

Is there a reason that we couldnt use an enum for the predicates instead of strings. It seems to me that when you are developing a full game trying to remember which strings you need to include and how to properly spell and capitalize them would get frustrating. If we just had an enum list to choose it would be much easier. I will try to see what I can come up with and share with the community unless there is a reason why it cant be done.

2 Likes

It most certain can be done (IMO, better solution, I hate branching off of strings unless I have some control over the string used).
Here’s a screenshot of my predicates using Enums:

3 Likes

This topic was automatically closed after 19 hours. New replies are no longer allowed.

Privacy & Terms