decalaring variables in cs code example
Example 1: how to create a variable in C#
int variable;
Example 2: C# varible
public varible nameofvarible;//In Unity to esablish varible new slot should appear in the script componit and drag what element you want