Hello,
I’m actually following the Stealth tutorial (just finished 2.4). I see that, to avoid typos if I understand well, we stored every tag in a tags class. But every time we refer to an input, like “Horizontal”, “Sneak”, “Attract”, we have to type the string, and to be extra careful not to make typos.
Is it a good idea to create something like this :
`public class Inputs : MonoBehaviour {
public const string horizontal = "Horizontal" ;
public const string vertical = "Vertical" ;
public const string sneak = "Sneak" ;
(...)
}`
Are there any cons ?