Unity

Unity tips for Beginner (2) - Dealing with static string and int

SOJA_Dev 2022. 10. 26. 21:59

This tip is connectable with my first tip and every developers sholud know about this tip!

When a developer writes some codes, there are some static string or int.

It's easy to take care of the whole codes by doing this.

example of Code.

Because I announced it with static, I don't need to put this script into the code where I need it!