animator hash in unity

C#
//Generates an parameter id from a string.
//Ids are used for optimized setters and getters on parameters.
public static readonly int varName = Animator.StringToHash("parameter name");
Source

Also in C#: