Learn how to use OnValidate to create hotbars that automatically bind to keys as you create them. I just had to add these to an MMO and wanted to share the power of OnValidate when creating things like this in Unity (software). In this c# Unity Tutorial, we’ll create the bars, add the validate, and hook up clicks.