今天学习是碰到了这个错误
The function must have either 0 or 1 parameters and the parameter can only be: string, float, int, enum, Object and AnimationEvent.
函数必须有0或1个参数,并且参数只能是 strin float int enum Object 和动画事件
仔细阅读上面的提示
发现
动画事件只能传一个参数或者零个参数
注释的是错的
今天学习是碰到了这个错误
The function must have either 0 or 1 parameters and the parameter can only be: string, float, int, enum, Object and AnimationEvent.
函数必须有0或1个参数,并且参数只能是 strin float int enum Object 和动画事件
仔细阅读上面的提示
发现
动画事件只能传一个参数或者零个参数
注释的是错的