单项选择题

某个自定义脚本中有个自定义变量public int a =1;在Inspector中将该值手动改为2,随后在脚本中将该变量的初始值改为3,随后点击运行,在游戏过程中该值被改为程序停止后,a的值为()

A.1
B.2
C.3
D.4