Takes a start and an end point, just going to bind local variable names start and end to those pieces.
有一个开始和结束点,就是去把局部的变量的名字,和这些点进行绑定。
And when you declare a variable, whether as an argument or as literally a local variable, they only live inside of that function.
当你声明一个变量,不论是一个参数,还是一个局部变量,它们只存在函数的内部。
It's not a local variable.
它不是一个局部变量。
For this sprite only, means local, only this function, only this script can use this variable, make this variable for all sprites, meant it was global.
对于只为一种精灵,意思是局部的,只有这个函数中,这个脚本中才可以用这个变量,这个变量为全部精灵而创建,意思是这个变量是全局的。
应用推荐