Hi zavy,
In many cases, there are multiple ways to make something work in Unity, and Rick cannot show all of them. If your code works, it’s a solution by definition. 
Has your question been answered?
See also:
- Forum User Guides : How to mark a topic as solved