How to use a custom Key?
Last updated
Last updated
In this example I will show the most likely use for the custom key, creating your own enumerator and implementing it to the UniFlux system
We create the 'Key' enumerator to use it
We go to the Generator Key tab
We write the name of the type we are going to use, in this case "Key". Note that it is Key Sensitive.
We choose the folder where we left the new Extender code and that's it!
Now you can use the "Key" enum to create new keys!
On a personal note, I usually use strings to reduce dependencies completely, by using a custom key that is not primitive you will generate a dependency, if that does not affect your project then go ahead, without fear of success